ci: how to setup custom testing machine #1598
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
--- | |
on: | |
push: | |
pull_request: | |
name: Run Tox tests | |
jobs: | |
tox_test: | |
if: "!contains(github.event.pull_request.labels.*.name, 'no-ci-builds')" | |
name: Tox test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Tox tests | |
id: test | |
uses: fedora-python/tox-github-action@main | |
with: | |
tox_env: ${{ matrix.tox_env }} | |
strategy: | |
matrix: | |
tox_env: | |
- py37 | |
- py38 | |
- py39 | |
- py310 | |
- py311 | |
- py312 | |
# Use GitHub's Linux Docker host | |
runs-on: ubuntu-latest |