Support python 3 12 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- run: python -m pip install pipenv | |
- run: python -m pipenv install --python ${{ matrix.python-version }} --skip-lock --dev --verbose | |
- run: python -m pipenv run invoke test.all | |
check_style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- run: python -m pip install pipenv | |
- run: python -m pipenv install --skip-lock --dev | |
- run: python -m pipenv run invoke style --check | |
check_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- run: python -m pip install pipenv | |
- run: python -m pipenv install --skip-lock --dev | |
- run: python -m pipenv run invoke lint | |
check_lint_deep: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- run: python -m pip install pipenv | |
- run: python -m pipenv install --skip-lock --dev | |
- run: python -m pipenv run invoke lint.deep |