Skip to content

Commit 4180beb

Browse files
authored
Merge pull request #8 from zaf/ga_tests
Added a test workflow for Github actions
2 parents c27a41f + f3214b0 commit 4180beb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Setup Go
15+
uses: actions/setup-go@v4
16+
with:
17+
go-version: '>=1.20.0'
18+
- name: Install packages
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y pkg-config libsoxr0 libsoxr-dev
22+
- name: Run tests
23+
run: go test -v

0 commit comments

Comments
 (0)