-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 760 Bytes
/
Copy pathtests.yml
File metadata and controls
28 lines (26 loc) · 760 Bytes
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
name: tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and test dependencies
run: |
python -m pip install --upgrade pip
# opencv-python-headless instead of the [image] extra: CI has no libGL
python -m pip install -e .[dev,tiledb] \
opencv-python-headless scipy matplotlib pillow scikit-image rosbags
- name: Run tests
run: python -m pytest tests/ -q