forked from OpenMS/pyopenms_viz
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 814 Bytes
/
ci.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
name: continuous-integration
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest] # note mac-latest tests fail due to slight differences in images
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt # visual tests are very finiky so fix the versions
pip install . # install pyopenms-viz
- name: Test
run: |
python -m pytest --snapshot-warn-unused test/ # do not fail if unused snapshot, just warn