Skip to content

Commit

Permalink
use ubuntu-20.04 for tests involving python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Oct 15, 2024
1 parent dae73a0 commit 2ba25f8
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/siibra-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,20 @@ jobs:
needs: "use-custom-cfg"
uses: ./.github/workflows/_importable.yaml
with:
os: ubuntu-latest
os: ubuntu-20.04 # use ubuntu-latest when python 3.7 is dropped
python-version: ${{ matrix.python-version }}
use-cfg: ${{ needs.use-custom-cfg.outputs.USE_REF }}
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"]

check-importable-python-3_7:
needs: "use-custom-cfg"
uses: ./.github/workflows/_importable.yaml
with:
os: ubuntu-20.04
python-version: ${{ matrix.python-version }}
use-cfg: ${{ needs.use-custom-cfg.outputs.USE_REF }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7"]
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]

unit-tests-full:
if: ${{ github.event_name == 'pull_request' }}
needs: "use-custom-cfg"
uses: ./.github/workflows/_unittest.yaml
with:
os: ubuntu-latest
os: ubuntu-20.04 # use ubuntu-latest when python 3.7 is dropped
python-version: ${{ matrix.python-version }}
use-cfg: ${{ needs.use-custom-cfg.outputs.USE_REF }}
strategy:
Expand All @@ -94,7 +82,7 @@ jobs:
needs: "use-custom-cfg"
uses: ./.github/workflows/_e2e.yaml
with:
os: ubuntu-latest
os: ubuntu-20.04 # use ubuntu-latest when python 3.7 is dropped
python-version: ${{ matrix.python-version }}
use-cfg: ${{ needs.use-custom-cfg.outputs.USE_REF }}
strategy:
Expand Down

0 comments on commit 2ba25f8

Please sign in to comment.