Makes the github PR workflow test against all OSes #227
Workflow file for this run
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: test-on-push-and-pr | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run 'pr' target | |
run: make pr | |
alpine: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run alpine integration tests | |
run: DISTRO=alpine make test-integ | |
amazonlinux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run amazonlinux integration tests | |
run: DISTRO=amazonlinux make test-integ | |
centos: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run centos integration tests | |
run: DISTRO=centos make test-integ | |
debian: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run debian integration tests | |
run: DISTRO=debian make test-integ | |
ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run ubuntu integration tests | |
run: DISTRO=ubuntu make test-integ |