From 4e9a9d3ee85a7cff4f1fc35adb8cbcbe49593579 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 17 Apr 2025 12:29:22 +0530 Subject: [PATCH] fix check failures on older versions --- .github/workflows/e2e-tests.yml | 39 +++++++++++++------------------ .github/workflows/test-python.yml | 4 ++-- 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a8861fb3..22757d82 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -35,47 +35,40 @@ jobs: - name: Verify 3.8 run: python __tests__/verify-python.py 3.8 - - name: Run with setup-python 3.7.5 + - name: Run with setup-python 3.7.13 uses: ./ with: - python-version: 3.7.5 - - name: Verify 3.7.5 - run: python __tests__/verify-python.py 3.7.5 + python-version: 3.7.13 + - name: Verify 3.7.13 + run: python __tests__/verify-python.py 3.7.13 - - name: Run with setup-python 3.6.7 + - name: Run with setup-python 3.8.12 uses: ./ with: - python-version: 3.6.7 - - name: Verify 3.6.7 - run: python __tests__/verify-python.py 3.6.7 + python-version: 3.8.12 + - name: Verify 3.8.12 + run: python __tests__/verify-python.py 3.8.12 - - name: Run with setup-python 3.8.1 - uses: ./ - with: - python-version: 3.8.1 - - name: Verify 3.8.1 - run: python __tests__/verify-python.py 3.8.1 - - - name: Run with setup-python 3.10 + - name: Run with setup-python 3.10.4 id: cp310 uses: ./ with: - python-version: '3.10' + python-version: '3.10.4' - name: Verify 3.10 - run: python __tests__/verify-python.py 3.10 - - name: Run python-path sample 3.10 + run: python __tests__/verify-python.py 3.10.4 + - name: Run python-path sample 3.10.4 run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version - name: Run with setup-python ==3.8 uses: ./ with: - python-version: '==3.8' - - name: Verify ==3.8 - run: python __tests__/verify-python.py 3.8 + python-version: '==3.8.12' + - name: Verify ==3.8.12 + run: python __tests__/verify-python.py 3.8.12 - name: Run with setup-python <3.11 uses: ./ with: python-version: '<3.11' - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10 + run: python __tests__/verify-python.py 3.10.4 diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index f45728df..b16692cb 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -251,11 +251,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.9.0-beta.4 + - name: setup-python 3.11.0-beta.4 id: setup-python uses: ./ with: - python-version: '3.9.0-beta.4' + python-version: '3.11.0-beta.4' - name: Check python-path run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'