Skip to content

Commit 48c57a2

Browse files
committed
ci: run test suite
Signed-off-by: Filipe Laíns <[email protected]>
1 parent caf24ce commit 48c57a2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
run-tests:
13+
runs-on: ubuntu-latest
14+
container:
15+
image: archlinux
16+
steps:
17+
- name: Update the system and install dependencies
18+
run: pacman -Syu --noconfirm --noprogressbar --needed python-pip ninja gcc git
19+
20+
- name: Install nox
21+
run: pip install nox
22+
23+
- name: Checkout
24+
uses: actions/checkout@v2
25+
26+
- name: Run tests
27+
run: nox
28+
29+
- uses: codecov/codecov-action@v1
30+
if: ${{ always() }}

0 commit comments

Comments
 (0)