summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c21bfc1..043b071 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,12 +1,6 @@
name: CI
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
+on: [push, pull_request]
jobs:
test:
@@ -25,12 +19,13 @@ jobs:
test_alpine:
name: Test on Alpine Linux
runs-on: ubuntu-latest
+ container: docker://alpine
steps:
- uses: actions/checkout@v1
+ - name: Install build dependencies
+ run: apk add build-base
- name: Compile and run tests
- uses: docker://alpine
- with:
- args: sh -c "apk add build-base && make && make test"
+ run: make && make test
acceptance_test:
name: Acceptance Tests
runs-on: ubuntu-latest