-
Notifications
You must be signed in to change notification settings - Fork 36
34 lines (30 loc) · 1000 Bytes
/
unit.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
name: unit
on: [ push, pull_request ]
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
ubuntu-version: [ "ubuntu-22.04", "ubuntu-24.04", "ubuntu-latest" ]
python-version: [ "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.ubuntu-version }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
lfs: 'true'
- name: Setup python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt setuptools
sudo sysctl kernel.dmesg_restrict=0
- name: Test "list"
run: ./vaapi-fits list
- name: Test "self"
run: ./vaapi-fits run --pl NA --device /dev/null -vv --parallel-metrics --call-timeout 10 --ctapr 0 test/self