Skip to content

Commit

Permalink
workflow: add unit test
Browse files Browse the repository at this point in the history
Signed-off-by: U. Artie Eoff <[email protected]>
  • Loading branch information
uartie committed Aug 14, 2024
1 parent 5ad0935 commit d20d2bd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: unit

on: [ push, pull_request ]

jobs:
test:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'

- name: Setup python
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
sudo sysctl kernel.dmesg_restrict=0
- name: Test "list"
run: ./vaapi-fits list

- name: Test "self"
run: ./vaapi-fits run --pl NA -vv --parallel-metrics --call-timeout 10 --device /dev/null --ctapr 0 test/self

0 comments on commit d20d2bd

Please sign in to comment.