Skip to content

Commit

Permalink
Fix CI workflows to work with development versions of Python (#649)
Browse files Browse the repository at this point in the history
This started off as part of #648, but it is conceptually an
independent change, so I am splitting it off into its own
commit.
  • Loading branch information
garrison authored Jul 30, 2024
1 parent cad1f2d commit edf53b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test_development_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
- name: Test using tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox -epy${pver/./} -- --run-slow
tox -epy${pver/./}-notebook
toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/')
tox -epy${toxpyversion} -- --run-slow
tox -epy${toxpyversion}-notebook
6 changes: 3 additions & 3 deletions .github/workflows/test_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
- name: Test using tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox -epy${pver/./} -- --run-slow
tox -epy${pver/./}-notebook
toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/')
tox -epy${toxpyversion} -- --run-slow
tox -epy${toxpyversion}-notebook
6 changes: 3 additions & 3 deletions .github/workflows/test_minimum_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
- name: Test using tox environment
shell: bash
run: |
pver=${{ matrix.python-version }}
tox -epy${pver/./} -- --run-slow
tox -epy${pver/./}-notebook
toxpyversion=$(echo ${{ matrix.python-version }} | sed -E 's/^([0-9]+)\.([0-9]+).*$/\1\2/')
tox -epy${toxpyversion} -- --run-slow
tox -epy${toxpyversion}-notebook

0 comments on commit edf53b7

Please sign in to comment.