Skip to content

Commit

Permalink
move tests for arm64v8, ppc64le, s390x from Travis CI to GHA using Do…
Browse files Browse the repository at this point in the history
…cker and aptman/qus
  • Loading branch information
nulano committed Dec 12, 2020
1 parent a3ab868 commit 903ec97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 29 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
fail-fast: false
matrix:
docker: [
# Run slower jobs first to give them a headstart and reduce waiting time
ubuntu-20.04-focal-arm64v8,
ubuntu-20.04-focal-ppc64le,
ubuntu-20.04-focal-s390x,
# Then run the remainder
alpine,
amazon-2-amd64,
arch,
Expand All @@ -22,6 +27,13 @@ jobs:
ubuntu-20.04-focal-amd64,
]
dockerTag: [master]
include:
- docker: "ubuntu-20.04-focal-arm64v8"
qemu-arch: "aarch64"
- docker: "ubuntu-20.04-focal-ppc64le"
qemu-arch: "ppc64le"
- docker: "ubuntu-20.04-focal-s390x"
qemu-arch: "s390x"

name: ${{ matrix.docker }}

Expand All @@ -31,6 +43,11 @@ jobs:
- name: Build system information
run: python .github/workflows/system-info.py

- name: Set up QEMU
if: "matrix.qemu-arch"
run: |
docker run --rm --privileged aptman/qus -s -- -p ${{ matrix.qemu-arch }}
- name: Docker pull
run: |
docker pull pythonpillow/${{ matrix.docker }}:${{ matrix.dockerTag }}
Expand Down
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

0 comments on commit 903ec97

Please sign in to comment.