ci: publish: added #203
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 Test | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 2 | |
fail-fast: true | |
matrix: | |
# Test the extreme Python versions for now to reduce CI runtime | |
os: [ubuntu-latest, windows-latest] | |
python-version: ['3.10', '3.13'] | |
steps: | |
- uses: actions/checkout@v4 | |
# This is enough to find many quoting issues | |
with: | |
path: "./check out" | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version); print(sys.platform)" | |
- name: install tox | |
run: pip3 install tox | |
- name: tox | |
run: tox -c 'check out' |