Skip to content

Commit 8c03ea6

Browse files
committed
Switch CI to Github Actions
1 parent ccfd88f commit 8c03ea6

2 files changed

Lines changed: 37 additions & 28 deletions

File tree

.github/workflows/main.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
9+
name: Run Tox tests
10+
11+
jobs:
12+
tox_test:
13+
name: Tox test
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v2
19+
- name: Run tests in container
20+
run: |
21+
docker run --platform linux/${{ matrix.arch }} -v ${{ github.workspace }}:/src -w /src -e TOX_PARAMS="-p auto" -e TOXENV=${{ matrix.toxenv }} fedorapython/fedora-python-tox:latest
22+
strategy:
23+
matrix:
24+
include:
25+
- arch: amd64
26+
toxenv: py36,py37,py38,py39,py310,py311,black,mypy
27+
- arch: arm64
28+
toxenv: py36,py37,py38
29+
- arch: arm64
30+
toxenv: py39,py310,py311
31+
- arch: ppc64le
32+
toxenv: py36,py37,py38,py39,py310,py311
33+
- arch: s390x
34+
toxenv: py36,py37,py38,py39,py310,py311
35+
36+
# Use GitHub's Linux Docker host
37+
runs-on: ubuntu-latest

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)