1
0
mirror of https://github.com/fedora-python/tox-current-env.git synced 2026-01-11 08:57:03 +01:00

Switch CI to the fedora-python Tox GitHub action

https://github.com/fedora-python/tox-current-env/pull/28
This commit is contained in:
Petr Viktorin
2020-08-12 16:28:20 +02:00
committed by GitHub
parent 2e513fe88f
commit 2b89732d65
4 changed files with 38 additions and 29 deletions

35
.github/workflows/main.yaml vendored Normal file
View File

@@ -0,0 +1,35 @@
on:
push:
pull_request:
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)
- py36-tox35
- py37-tox35
- py38-tox35
- py36-toxrelease
- py37-toxrelease
- py38-toxrelease
- py36-toxmaster
- py37-toxmaster
- py38-toxmaster
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest