-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 961 Bytes
/
ci_pipeline.yml
File metadata and controls
44 lines (37 loc) · 961 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Testing
on:
push:
branches:
- main
- devel
pull_request:
branches:
- main
- devel
jobs:
test:
runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ['3.12']
steps:
- name: Check out the code
uses: actions/checkout@v3
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Inspect maxplotlib arguments
run: |
maxplotlib -h
- name: Run tests
run: |
coverage run -m pytest .
coverage report --sort=cover
- name: Test tutorials
run: |
jupyter nbconvert --to notebook --execute tutorials/*.ipynb --output-dir=/tmp --ExecutePreprocessor.timeout=300