-
Notifications
You must be signed in to change notification settings - Fork 26
64 lines (62 loc) · 1.85 KB
/
mpl_tests.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Dependecy test Matplotlib
on:
pull_request:
types: [labeled]
workflow_dispatch:
jobs:
mpl_tests:
if: ${{ github.event.label.name == 'test_mpl' && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mpl-version: [3.0.0]
include:
- mpl-version: 3.0.0
- mpl-version: 3.0.1
- mpl-version: 3.0.2
- mpl-version: 3.0.3
- mpl-version: 3.1.0
- mpl-version: 3.1.1
- mpl-version: 3.1.2
- mpl-version: 3.1.3
- mpl-version: 3.2.0
- mpl-version: 3.2.1
- mpl-version: 3.2.2
- mpl-version: 3.3.0
- mpl-version: 3.3.1
- mpl-version: 3.3.2
- mpl-version: 3.3.3
- mpl-version: 3.3.4
- mpl-version: 3.4.0
- mpl-version: 3.4.1
- mpl-version: 3.4.2
- mpl-version: 3.4.3
- mpl-version: 3.5.0
- mpl-version: 3.5.1
- mpl-version: 3.5.2
- mpl-version: 3.5.3
- mpl-version: 3.6.0
- mpl-version: 3.6.1
- mpl-version: 3.6.2
- mpl-version: 3.6.3
- mpl-version: 3.7.0
- mpl-version: 3.7.1
- mpl-version: 3.7.2
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r devtools/dev-requirements.txt
pip install "matplotlib==${{ matrix.mpl-version }}"
- name: Test with pytest
run: |
pwd
lscpu
python -m pytest tests/test_plotting.py --durations=0 --mpl --maxfail=1