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 10c26a6 commit be1e58d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 slash numpy scikit-image distro psutil py-cpuinfo matplotlib
- name: test "list"
run: ./vaapi-fits list

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

0 comments on commit be1e58d

Please sign in to comment.