Update README.md #74
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: Python Tool Competition 2024 | |
on: [push] | |
jobs: | |
tox-linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
cache: "pip" | |
- name: Install tox and any other packages | |
run: pip install tox poetry | |
- name: Run tox | |
# Run tox using the version of Python in `PATH` | |
run: tox --skip-env py | |
tox-pytest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-minor-version: ["9", "10", "11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python 3.${{ matrix.python-minor-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.${{ matrix.python-minor-version }} | |
cache: "pip" | |
- name: Install tox and any other packages | |
run: pip install tox poetry | |
- name: Run tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py3${{ matrix.python-minor-version }} | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files |