summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-10-06 17:42:26 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-10-06 17:46:38 -0700
commitf770d7da17850036df887b2f41a86c38ba255135 (patch)
treed5aca8b547d4ea364d1a2c1fe2ee20c866f28cd5
parent06533ffd3618973c337a7caf4051ae5b45f5505f (diff)
Update test.yml
-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