Last active
December 20, 2019 01:00
-
-
Save ethomson/9add864c916083aaf0c0d3b0bd092351 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: make testapp | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: tests | |
path: testapp | |
test: | |
needs: build | |
strategy: | |
matrix: | |
container: ['ubuntu:20.04', 'debian:buster', 'centos:8', 'alpine:3'] | |
runs-on: ubuntu-latest | |
container: ${{matrix.container}} | |
steps: | |
- uses: actions/download-artifact@v1 | |
with: | |
name: tests | |
- name: Run Tests | |
run: chmod 0755 tests/testapp && tests/testapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment