-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 990 Bytes
/
test.yaml
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
35
36
37
name: "test"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: pip install ".[dev]"
- name: Load cached sample data and proffast code
uses: actions/cache@v4
with:
path: |
data/testing/container/em27-retrieval-pipeline-test-inputs-1.0.0.tar.gz
src/retrieval/algorithms/proffast-1.0/main/prf
src/retrieval/algorithms/proffast-2.2/main/prf
src/retrieval/algorithms/proffast-2.3/main/prf
key: v1.0.0-ci-cache
# run test suite
- name: Run pytests
run: |
pytest -m "quick or ci" --capture=no --verbose --exitfirst --cov=src tests/