11name : Test and Deploy
22on :
33 pull_request :
4- branches :
5- - main
64 push :
75
86env :
9- FORCE_COLOR : 1
7+ FORCE_COLOR : " 1 "
108
119jobs :
1210 check :
2018 - uses : actions/checkout@v4
2119 - uses : actions/setup-python@v5
2220 with :
23- python-version : ' 3.x '
21+ python-version : " 3 "
2422 cache : pip
2523 cache-dependency-path : .github/workflows/workflow.yml
2624 - name : Black
3735 - name : Set up Python
3836 uses : actions/setup-python@v5
3937 with :
40- python-version : " 3.8 "
38+ python-version : " 3.9 "
4139 cache : pip
4240 cache-dependency-path : |
4341 .github/workflows/workflow.yml
@@ -69,18 +67,35 @@ jobs:
6967 strategy :
7068 fail-fast : false
7169 matrix :
72- python-version : ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
73- sphinx-version : ['>=5,<6', '>=6a0,<7', '>=7,<8', '>=8,<9']
74- os : [windows-latest, macos-latest, ubuntu-latest]
70+ python-version :
71+ - " pypy3.9"
72+ - " 3.9"
73+ - " 3.10"
74+ - " 3.11"
75+ - " 3.12"
76+ - " 3.13"
77+ sphinx-version :
78+ - " >=5,<6"
79+ - " >=6a0,<7"
80+ - " >=7,<8"
81+ - " >=8,<9"
82+ os :
83+ - windows-latest
84+ - macos-latest
85+ - ubuntu-latest
7586 exclude :
76- - python-version : ' 3.8'
77- sphinx-version : ' >=8,<9'
78- - python-version : ' 3.9'
79- sphinx-version : ' >=8,<9'
80- - python-version : ' pypy3.9'
81- sphinx-version : ' >=8,<9'
82- - python-version : ' 3.13'
83- sphinx-version : ' >=5,<6'
87+ - python-version : " 3.9"
88+ sphinx-version : " >=8,<9"
89+ - python-version : " pypy3.9"
90+ sphinx-version : " >=6,<7"
91+ os : " macos-latest"
92+ - python-version : " pypy3.9"
93+ sphinx-version : " >=7,<8"
94+ os : " macos-latest"
95+ - python-version : " pypy3.9"
96+ sphinx-version : " >=8,<9"
97+ - python-version : " 3.13"
98+ sphinx-version : " >=5,<6"
8499 steps :
85100 - uses : actions/checkout@v4
86101 - name : Set up Python ${{ matrix.python-version }}
@@ -111,7 +126,7 @@ jobs:
111126 python -m pytest -vv
112127 - name : Install matplotlib
113128 run : |
114- python -m pip install matplotlib
129+ python -m pip install --only-binary :all: matplotlib
115130 - name : Run tests with matplotlib for ${{ matrix.python-version }}
116131 run : |
117132 python -m pytest -vv
@@ -125,7 +140,7 @@ jobs:
125140 - name : Setup Python
126141 uses : actions/setup-python@v5
127142 with :
128- python-version : ' 3.x '
143+ python-version : " 3 "
129144 cache : pip
130145 cache-dependency-path : docs/requirements.txt
131146 - name : Install dependencies
0 commit comments