-
Notifications
You must be signed in to change notification settings - Fork 209
50 lines (36 loc) · 878 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: test
on:
push:
branches: [ main, v4 ]
pull_request:
branches: [ main, v4 ]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.21", "1.22", "1.23", "1.24"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- run: sudo apt update && sudo apt install -y libavcodec-dev libswscale-dev
- run: make test-nodocker
- if: matrix.go == '1.24'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
test_highlevel:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: "1.24"
- run: make test-highlevel-nodocker
test32:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make test32