From cb9e8d8f141be15f216f5c732a8b670fcea13ecb Mon Sep 17 00:00:00 2001 From: Carter Francis Date: Wed, 4 Sep 2024 13:57:37 -0500 Subject: [PATCH] Update Runners and coverage --- .github/workflows/build.yaml | 6 +++--- deapi/conf.py | 34 ---------------------------------- 2 files changed, 3 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e2dc4d6..f36323f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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' }} diff --git a/deapi/conf.py b/deapi/conf.py index 7071aee..73d3681 100644 --- a/deapi/conf.py +++ b/deapi/conf.py @@ -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 - -
- This page was generated from - {{ docname|e }}. - Interactive online version: - Binder badge. - -
-.. 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"