mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-24 09:06:15 +01:00
d2f9344898
tox documentation is a good source for how to write it: https://tox.wiki/en/latest/ https://tox.wiki/en/rewrite/ See also https://twitter.com/jugmac00/status/1524452912684011521 Merges https://github.com/fedora-python/tox-current-env/pull/50
43 lines
978 B
YAML
43 lines
978 B
YAML
on:
|
|
push:
|
|
pull_request:
|
|
schedule:
|
|
- cron: '0 0 * * 1' # every Monday
|
|
|
|
name: Run tox tests
|
|
|
|
jobs:
|
|
tox_test:
|
|
name: tox test
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run tox tests
|
|
id: test
|
|
uses: fedora-python/tox-github-action@master
|
|
with:
|
|
tox_env: ${{ matrix.tox_env }}
|
|
strategy:
|
|
matrix:
|
|
tox_env:
|
|
# This information is repeated in tox.ini
|
|
# (see https://github.com/fedora-python/tox-github-action/issues/8)
|
|
# Generate it by: tox -l | sed "s/^/- /"
|
|
- py36-toxrelease
|
|
- py36-toxmaster
|
|
- py36-tox315
|
|
- py37-toxrelease
|
|
- py37-toxmaster
|
|
- py37-tox315
|
|
- py38-toxrelease
|
|
- py38-toxmaster
|
|
- py38-tox315
|
|
- py39-toxrelease
|
|
- py39-toxmaster
|
|
- py39-tox315
|
|
- py310-toxrelease
|
|
- py310-toxmaster
|
|
- py310-tox315
|
|
|
|
# Use GitHub's Linux Docker host
|
|
runs-on: ubuntu-latest
|