Skip to content

Commit 0990b2e

Browse files
classabbyampDuncaen
authored andcommitted
CI: minor improvements to build/test workflow
- add a concurrency group so things aren't run on push *and* pull_request update - add a name to steps missing one
1 parent e43d8d9 commit 0990b2e

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
name: Tests
2-
on: [push, pull_request]
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- 'master'
7+
- 'ci-**'
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
313
jobs:
414
testsuite:
515
strategy:
@@ -23,7 +33,8 @@ jobs:
2333
container: ${{ matrix.void_image }}
2434
steps:
2535
- uses: actions/checkout@v1
26-
- run: |
36+
- name: Prepare container
37+
run: |
2738
xbps-install -Syu || xbps-install -yu xbps
2839
xbps-install -Sy ${{ matrix.c_compiler }} ${{ matrix.extra_deps }} make pkg-config zlib-devel openssl-devel libarchive-devel kyua atf-devel
2940
- name: Build
@@ -32,4 +43,5 @@ jobs:
3243
run: |
3344
./configure --enable-tests
3445
make -j
35-
- run: make check
46+
- name: Check
47+
run: make check

0 commit comments

Comments
 (0)