2020-08-12 16:28:20 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
2020-08-13 12:16:22 +02:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 1' # every Monday
|
2020-08-12 16:28:20 +02:00
|
|
|
|
|
|
|
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)
|
2022-02-09 10:28:06 +01:00
|
|
|
# Generate it by: tox -l | sed "s/^/- /"
|
2020-08-12 16:28:20 +02:00
|
|
|
- py36-toxrelease
|
|
|
|
- py36-toxmaster
|
2022-02-09 10:28:06 +01:00
|
|
|
- py36-toxtox315
|
|
|
|
- py37-toxrelease
|
2020-08-12 16:28:20 +02:00
|
|
|
- py37-toxmaster
|
2022-02-09 10:28:06 +01:00
|
|
|
- py37-toxtox315
|
|
|
|
- py38-toxrelease
|
2020-08-12 16:28:20 +02:00
|
|
|
- py38-toxmaster
|
2022-02-09 10:28:06 +01:00
|
|
|
- py38-toxtox315
|
|
|
|
- py39-toxrelease
|
2020-08-12 15:23:55 +02:00
|
|
|
- py39-toxmaster
|
2022-02-09 10:28:06 +01:00
|
|
|
- py39-toxtox315
|
|
|
|
- py310-toxrelease
|
|
|
|
- py310-toxmaster
|
|
|
|
- py310-toxtox315
|
2020-08-12 16:28:20 +02:00
|
|
|
|
|
|
|
# Use GitHub's Linux Docker host
|
|
|
|
runs-on: ubuntu-latest
|