-
Notifications
You must be signed in to change notification settings - Fork 28
44 lines (40 loc) · 1.04 KB
/
pytest-python-dev.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Testsuite python development version
on:
push:
branches:
- master
- develop
schedule:
- cron: "0 10 * * 0"
jobs:
testsuite:
name: Test suiite
runs-on: ubuntu-22.04
env:
MPLBACKEND: svg
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.13-dev'
- name: Install dependencies minimal
run: |
sudo apt-get install libopenblas-dev libhdf5-dev
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel
pip install -e .[unit-testing]
- name: Unit tests minimal
run: pytest
- name: Install dependencies complete
continue-on-error: true
run: |
pip install -e .[all,testing]
- name: Unit tests complete
continue-on-error: true
run: pytest
- name: Notebook flow tests
uses: coactions/setup-xvfb@v1
continue-on-error: true
with:
run: python -m pytest -m demos