fix check failures on older versions

This commit is contained in:
Aparna Jyothi 2025-04-17 12:29:22 +05:30
parent 849ce895af
commit 4e9a9d3ee8
2 changed files with 18 additions and 25 deletions

View File

@ -35,47 +35,40 @@ jobs:
- name: Verify 3.8 - name: Verify 3.8
run: python __tests__/verify-python.py 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: ./ uses: ./
with: with:
python-version: 3.7.5 python-version: 3.7.13
- name: Verify 3.7.5 - name: Verify 3.7.13
run: python __tests__/verify-python.py 3.7.5 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: ./ uses: ./
with: with:
python-version: 3.6.7 python-version: 3.8.12
- name: Verify 3.6.7 - name: Verify 3.8.12
run: python __tests__/verify-python.py 3.6.7 run: python __tests__/verify-python.py 3.8.12
- name: Run with setup-python 3.8.1 - name: Run with setup-python 3.10.4
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
id: cp310 id: cp310
uses: ./ uses: ./
with: with:
python-version: '3.10' python-version: '3.10.4'
- name: Verify 3.10 - name: Verify 3.10
run: python __tests__/verify-python.py 3.10 run: python __tests__/verify-python.py 3.10.4
- name: Run python-path sample 3.10 - name: Run python-path sample 3.10.4
run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
- name: Run with setup-python ==3.8 - name: Run with setup-python ==3.8
uses: ./ uses: ./
with: with:
python-version: '==3.8' python-version: '==3.8.12'
- name: Verify ==3.8 - name: Verify ==3.8.12
run: python __tests__/verify-python.py 3.8 run: python __tests__/verify-python.py 3.8.12
- name: Run with setup-python <3.11 - name: Run with setup-python <3.11
uses: ./ uses: ./
with: with:
python-version: '<3.11' python-version: '<3.11'
- name: Verify <3.11 - name: Verify <3.11
run: python __tests__/verify-python.py 3.10 run: python __tests__/verify-python.py 3.10.4

View File

@ -251,11 +251,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: setup-python 3.9.0-beta.4 - name: setup-python 3.11.0-beta.4
id: setup-python id: setup-python
uses: ./ uses: ./
with: with:
python-version: '3.9.0-beta.4' python-version: '3.11.0-beta.4'
- name: Check python-path - name: Check python-path
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}' run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'