- Notifications
You must be signed in to change notification settings - Fork410
Bump actions/upload-artifact from 5.0.0 to 6.0.0#1023
This file contains hidden or 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 tests | |
| on:[push, pull_request] | |
| permissions: | |
| contents:read | |
| jobs: | |
| test: | |
| runs-on:ubuntu-latest | |
| strategy: | |
| matrix: | |
| python: | |
| -{ VERSION: "3.9", TOXENV: "py39", ALLOW_FAILURE: false } | |
| -{ VERSION: "3.10", TOXENV: "py310", ALLOW_FAILURE: false } | |
| -{ VERSION: "3.11", TOXENV: "py311", ALLOW_FAILURE: false } | |
| -{ VERSION: "3.12", TOXENV: "py312", ALLOW_FAILURE: false } | |
| -{ VERSION: "3.13", TOXENV: "py313", ALLOW_FAILURE: false } | |
| -{ | |
| VERSION:"3.13", | |
| TOXENV:"flake8,doclint,docs,commitlint", | |
| ALLOW_FAILURE:false, | |
| } | |
| -{ VERSION: "3.13", TOXENV: "docstrings", ALLOW_FAILURE: true } | |
| -{ VERSION: "pypy3.9", TOXENV: "pypy", ALLOW_FAILURE: false } | |
| steps: | |
| -name:Harden the runner (Audit all outbound calls) | |
| uses:step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76# v2.14.0 | |
| with: | |
| egress-policy:audit | |
| -name:Check out the repository | |
| uses:actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8# v6.0.1 | |
| -name:Setup Python | |
| uses:actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548# v6.1.0 | |
| with: | |
| python-version:${{ matrix.PYTHON.VERSION }} | |
| -name:Upgrade pip | |
| run:| | |
| pip install pip | |
| pip --version | |
| -name:Install Tox | |
| run:| | |
| pip install tox | |
| tox --version | |
| -name:Run Tox | |
| run:tox | |
| env: | |
| TOXENV:${{ matrix.PYTHON.TOXENV }} | |
| GH_RECORD_MODE:"none" | |
| continue-on-error:${{ matrix.PYTHON.ALLOW_FAILURE }} |