Skip to content

Commit

Permalink
Bump basic CI tests and CD to python 3.9 (#192)
Browse files Browse the repository at this point in the history
* Bump the CD release job together with the package build from python 3.7 to 3.9.
* Bump the basic CI tests from python 3.8 to 3.9.

---------

Co-authored-by: Anders Eklund <ajeklund@users.noreply.github.com>
Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>
Co-authored-by: Casper Welzel Andersen <casper.w.andersen@sintef.no>
  • Loading branch information
4 people authored Mar 8, 2024
1 parent 4314f40 commit f04c50f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
# Build package
python_package: true
package_dirs: tripper
python_version_build: "3.7"
python_version_build: "3.9"
build_cmd: "pip install -U flit && flit build"
publish_on_pypi: true

# Build & publish documentation
update_docs: true
python_version_docs: "3.7"
python_version_docs: "3.9"
doc_extras: "[docs]"
changelog_exclude_labels: "skip_changelog,duplicate,question,invalid,wontfix"
secrets:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

# pre-commit
run_pre-commit: true
python_version_pre-commit: "3.8"
python_version_pre-commit: "3.9"
skip_pre-commit_hooks: pylint,pylint-tests

# pylint & safety
Expand All @@ -40,7 +40,7 @@ jobs:
# Build package
run_build_package: true
python_version_package: "3.7"
python_version_package: "3.9"
build_libs: flit
build_cmd: flit build

Expand Down Expand Up @@ -85,8 +85,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Run doctest on tutorial
run: |
python -m doctest docs/tutorial.md
run: python -m doctest docs/tutorial.md

pytest-no-extra-dependencies: # Test for basic version, without extras installed
runs-on: ubuntu-latest
Expand Down

0 comments on commit f04c50f

Please sign in to comment.