Skip to content

Commit

Permalink
Update Runners and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
CSSFrancis committed Sep 4, 2024
1 parent 3cd2fdb commit cb9e8d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
python-version: ["3.10", "3.11", "3.12"]
include:
- os: ubuntu-latest
python-version: 3.8
python-version: 3.10

DEPENDENCIES: protobuf==3.18.0
DEPENDENCIES: protobuf>= 5.0.0
LABEL: -oldest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run tests
run: |
pytest -n 2 --cov=deapi
pytest -n 2 --cov=deapi --pyargs deapi
- name: Generate line coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down
34 changes: 0 additions & 34 deletions deapi/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,40 +133,6 @@
release_version = "master"
else:
release_version = "v" + version
# This is processed by Jinja2 and inserted before each notebook
nbsphinx_prolog = (
r"""
{% set docname = 'doc/' + env.doc2path(env.docname, base=None) %}
.. raw:: html
<style>a:hover { text-decoration: underline; }</style>
<div class="admonition note">
This page was generated from
<a class="reference external" href="https://github.com/pyxem/pyxem-demos/blob/"""
+ f"{release_version}"
+ r"""/{{ docname|e }}">{{ docname|e }}</a>.
Interactive online version:
<span style="white-space: nowrap;"><a href="https://mybinder.org/v2/gh/pyxem/pyxem-demos/"""
+ f"{release_version}"
+ r"""?filepath={{ docname|e }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>.</span>
<script>
if (document.location.host) {
$(document.currentScript).replaceWith(
'<a class="reference external" ' +
'href="https://nbviewer.jupyter.org/url' +
(window.location.protocol == 'https:' ? 's/' : '/') +
window.location.host +
window.location.pathname.slice(0, -4) +
'ipynb">View in <em>nbviewer</em></a>.'
);
}
</script>
</div>
.. raw:: latex
\nbsphinxstartnotebook{\scriptsize\noindent\strut
\textcolor{gray}{The following section was generated from
\sphinxcode{\sphinxupquote{\strut {{ docname | escape_latex }}}} \dotfill}}
"""
)
# https://nbsphinx.readthedocs.io/en/0.8.0/never-execute.html
nbsphinx_execute = "never" # auto, always, never
nbsphinx_kernel_name = "python3"
Expand Down

0 comments on commit cb9e8d8

Please sign in to comment.