diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index deb0309c..38e38f06 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,6 +33,8 @@ jobs: python: ["3.8", "3.9", "3.10"] runs-on: ${{ matrix.os }} name: Run test suite + env: + PYTHON_VERSION: "python${{ matrix.python }}" steps: - name: Checkout uses: actions/checkout@v4 @@ -65,11 +67,19 @@ jobs: - uses: extractions/setup-just@69d82fb0233557aec017ef13706851d0694e0f1d - name: Run actual tests on ${{ matrix.os }} - if: ${{ matrix.os == 'ubuntu-20.04' }} - run: just test -vvv + if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' }} + run: | + echo "$PYTHON_VERSION" + just test -vvv - - name: Run actual tests on ${{ matrix.os }} - if: ${{ matrix.os == 'windows-2019' || matrix.os == 'macos-12' }} + - name: Run actual tests on windows + if: ${{ matrix.os == 'windows-2019' }} + run: | + export PYTHON_VERSION=python.exe + just test-no-docker -vvv + + - name: Run actual tests on macos + if: ${{ matrix.os == 'macos-12' }} run: just test-no-docker -vvv test-package-build: