mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2024-12-24 09:06:15 +01:00
10f1d91d8f
Version 2 uses the node12 runtime. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
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@v3
|
|
- 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
|