diff options
| author | 2025-05-22 21:55:36 +0100 | |
|---|---|---|
| committer | 2025-05-22 21:55:36 +0100 | |
| commit | c825ae4e36f5380c9fca325a99884513c8c701cc (patch) | |
| tree | 20c13e7c93fbbe8d8f83b78196527e617345bd3c /.github | |
| parent | Bump SciPy in eval deps to get Python 3.13 support (#235) (diff) | |
| parent | Only test on ubuntu-latest (diff) | |
Python 3.14 (#236)
* Consistent capitalisation in dockerfile
* Bump 3.13 to 3.13.2 and make the default
3.13.3 has a bug with tests.
This is fixed on the 3.13 dev branch, so will likely be part of 3.13.4
See this commit for more info https://github.com/python/cpython/commit/cc39b19f0fca8db0f881ecaf02f88d72d9f93776
* Remove 3.12 in favour of 3.14-dev
* Bump numpy version installed in dev to one that works for 3.13
* Bump eval deps to latest versions
This commit also updates which dependencies are installed in each verison of Python, according to what works where.
* update tests to use new default python version
* Replace deprecated ubuntu 20.04 CI runner with 24.04
* Only test on ubuntu-latest
We previously used a matrixc to test cgroups v1 & v2. Now that ubuntu 20.04 is no longer supported by GitHub, we not longer have access to a runner with v1 cgroups.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yaml | 17 | 
1 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b711276..270ab2b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,11 +11,7 @@ on:  jobs:    test:      name: Test with coverage -    runs-on: ${{ matrix.os }} -    strategy: -      matrix: -        os: [ubuntu-20.04, ubuntu-22.04] - +    runs-on: ubuntu-latest      steps:        - name: Download image artifact          uses: actions/download-artifact@v4 @@ -40,7 +36,7 @@ jobs:          run: |            export IMAGE_SUFFIX='-venv:${{ inputs.version }}'            docker compose run \ -            --rm -T -e COVERAGE_DATAFILE=.coverage.${{ matrix.os }} \ +            --rm -T -e COVERAGE_DATAFILE=.coverage \              --entrypoint coverage \              snekbox \              run -m unittest @@ -49,8 +45,8 @@ jobs:        - name: Upload coverage data          uses: actions/upload-artifact@v4          with: -          name: coverage-${{ matrix.os }} -          path: .coverage.* +          name: coverage +          path: .coverage            retention-days: 1            include-hidden-files: true @@ -76,12 +72,9 @@ jobs:        - name: Download coverage data          uses: actions/download-artifact@v4          with: -          pattern: coverage-* +          pattern: coverage            merge-multiple: true -      - name: Combine coverage data -        run: coverage combine .coverage.* -        - name: Display coverage report          run: coverage report -m  |