Add tests for python version files

This commit is contained in:
Dario Curreri 2023-06-06 16:51:27 +02:00
parent e1bb6df076
commit 3e4f08959a
No known key found for this signature in database

View File

@ -86,3 +86,31 @@ jobs:
run: python __tests__/verify-python.py 3.10
- name: Run python-path sample 3.10
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
- 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
- name: Run with setup-python >3.8
uses: ./
with:
python-version: '>3.8'
- name: Verify >3.8
run: python __tests__/verify-python.py 3.11
- name: Run with setup-python >=3.8,<3.10
uses: ./
with:
python-version: '>=3.8,<3.10'
- name: Verify >=3.8,<3.10
run: python __tests__/verify-python.py 3.9