From c4959da59a55fd7ac0228f3d410004af338867c1 Mon Sep 17 00:00:00 2001 From: bloodearnest Date: Mon, 30 Sep 2024 09:50:34 +0100 Subject: [PATCH] test --- .github/workflows/tests.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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: