Browse code

Update test.yml

John Hawthorn authored on 07/10/2019 00:42:26
Showing 1 changed files

... ...
@@ -1,12 +1,6 @@
1 1
 name: CI
2 2
 
3
-on:
4
-  push:
5
-    branches:
6
-    - master
7
-  pull_request:
8
-    branches:
9
-    - master
3
+on: [push, pull_request]
10 4
 
11 5
 jobs:
12 6
   test:
... ...
@@ -25,12 +19,13 @@ jobs:
25 19
   test_alpine:
26 20
     name: Test on Alpine Linux
27 21
     runs-on: ubuntu-latest
22
+    container: docker://alpine
28 23
     steps:
29 24
     - uses: actions/checkout@v1
25
+    - name: Install build dependencies
26
+      run: apk add build-base
30 27
     - name: Compile and run tests
31
-      uses: docker://alpine
32
-      with:
33
-        args: sh -c "apk add build-base && make && make test"
28
+      run: make && make test
34 29
   acceptance_test:
35 30
     name: Acceptance Tests
36 31
     runs-on: ubuntu-latest