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
|
|
|
|
2022-05-12 09:54:55 +02:00
|
|
|
name: Run tox tests
|
2020-08-12 16:28:20 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
tox_test:
|
2022-05-12 09:54:55 +02:00
|
|
|
name: tox test
|
2020-08-12 16:28:20 +02:00
|
|
|
steps:
|
2022-12-08 20:13:17 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-05-12 09:54:55 +02:00
|
|
|
- name: Run tox tests
|
2020-08-12 16:28:20 +02:00
|
|
|
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/^/- /"
|
2022-11-30 12:24:38 +01:00
|
|
|
- py36-tox324
|
2022-02-25 09:32:23 +01:00
|
|
|
- py36-tox3
|
2022-11-30 12:24:38 +01:00
|
|
|
- py37-tox324
|
2022-02-25 09:32:23 +01:00
|
|
|
- py37-tox3
|
2022-02-10 10:58:59 +01:00
|
|
|
- py37-tox4
|
2022-11-30 12:24:38 +01:00
|
|
|
- py38-tox324
|
|
|
|
- py38-tox3
|
2022-02-10 10:58:59 +01:00
|
|
|
- py38-tox4
|
2022-11-30 12:24:38 +01:00
|
|
|
- py39-tox324
|
|
|
|
- py39-tox3
|
2022-02-10 10:58:59 +01:00
|
|
|
- py39-tox4
|
2022-11-30 12:24:38 +01:00
|
|
|
- py310-tox324
|
|
|
|
- py310-tox3
|
2022-02-10 10:58:59 +01:00
|
|
|
- py310-tox4
|
2022-11-30 12:24:38 +01:00
|
|
|
- py311-tox324
|
|
|
|
- py311-tox3
|
|
|
|
- py311-tox4
|
2020-08-12 16:28:20 +02:00
|
|
|
# Use GitHub's Linux Docker host
|
|
|
|
runs-on: ubuntu-latest
|