-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (40 loc) · 1.12 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on:
push:
branches:
- master
pull_request:
branches:
- master
name: Run Tox tests
jobs:
tox_test:
name: Tox test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Run tests in container
run: |
docker run --platform linux/${{ matrix.arch }} -v ${{ github.workspace }}:/src -w /src -e TOX_PARALLEL_NO_SPINNER=1 -e TOX_PARAMS="-p auto" -e TOXENV=${{ matrix.toxenv }} fedorapython/fedora-python-tox:latest
strategy:
matrix:
include:
- arch: amd64
toxenv: py36,py37,py38,py39,py310,py311,py312,black,mypy
- arch: arm64
toxenv: py36
- arch: arm64
toxenv: py37
- arch: arm64
toxenv: py38,py39
- arch: arm64
toxenv: py310,py311
- arch: ppc64le
toxenv: py36,py37,py38
- arch: ppc64le
toxenv: py39,py310,py311
- arch: s390x
toxenv: py36,py37,py38,py39,py310,py311
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest