77 branches : [main]
88
99jobs :
10- test-ubuntu-py38 :
11- runs-on : ${{matrix.os}}
10+ test-ubuntu-py39-coverage :
11+ runs-on : ubuntu-latest
1212 timeout-minutes : 20
13- strategy :
14- fail-fast : false
15- matrix :
16- os : [ubuntu-latest]
17- python-version :
18- - " 3.8"
1913
2014 steps :
2115 - uses : actions/checkout@v3
2216
23- - name : Set up Python ${{ matrix.python-version }}
17+ - name : Set up Python 3.9
2418 uses : actions/setup-python@v4
2519 with :
26- python-version : ${{ matrix.python-version }}
20+ python-version : " 3.9 "
2721
2822 - name : Upgrade pip version
2923 run : |
3327 run : |
3428 python -m pip install -r requirements.txt
3529 python -m pip install -r docs/requirements.txt
30+ python -m pip install spin
3631
3732 - name : Install lcov
3833 run : |
4540 CFLAGS : " --coverage"
4641 run : |
4742 spin build -v
48- # coverage tests
43+
4944 - name : Run tests
5045 run : |
5146 spin test -v
7570 run : |
7671 sphinx-build -b html docs/source/ docs/build/html
7772
78- test-ubuntu-py39-py310 :
73+ test-ubuntu-py39-py310-py311 :
7974 runs-on : ${{matrix.os}}
8075 timeout-minutes : 20
8176 strategy :
8580 python-version :
8681 - " 3.9"
8782 - " 3.10"
83+ - " 3.11"
8884
8985 steps :
9086 - uses : actions/checkout@v3
10298 run : |
10399 python -m pip install -r requirements.txt
104100 python -m pip install -r docs/requirements.txt
101+ python -m pip install spin
105102
106103 - name : Build package
107104 env :
@@ -125,9 +122,9 @@ jobs:
125122 matrix :
126123 os : [macos-latest]
127124 python-version :
128- - " 3.8"
129125 - " 3.9"
130126 - " 3.10"
127+ - " 3.11"
131128
132129 steps :
133130 - uses : actions/checkout@v3
@@ -145,13 +142,15 @@ jobs:
145142 run : |
146143 python -m pip install -r requirements.txt
147144 python -m pip install -r docs/requirements.txt
145+ python -m pip install spin
148146
149147 - name : Build package
150148 env :
151149 MACOSX_DEPLOYMENT_TARGET : 11.0
152150 CXXFLAGS : " -std=c++17"
153151 run : |
154152 spin build -v
153+
155154 - name : Run tests
156155 run : |
157156 spin test -v
@@ -168,7 +167,9 @@ jobs:
168167 matrix :
169168 os : [windows-latest]
170169 python-version :
171- - " 3.8"
170+ - " 3.9"
171+ - " 3.10"
172+ - " 3.11"
172173
173174 steps :
174175 - uses : actions/checkout@v3
@@ -184,7 +185,7 @@ jobs:
184185 update-conda : true
185186 python-version : ${{ matrix.python-version }}
186187 conda-channels : anaconda, conda-forge
187- # - run: conda --version # This fails due to unknown reasons
188+
188189 - run : which python
189190
190191 - name : Upgrade pip version
@@ -195,6 +196,7 @@ jobs:
195196 run : |
196197 python -m pip install -r requirements.txt
197198 python -m pip install -r docs/requirements.txt
199+ python -m pip install spin
198200
199201 - name : Build package
200202 env :
0 commit comments