Skip to content

Commit 812daff

Browse files
authored
(tests) moved fullTest to run on Python 3.10 as the lowest version under MacOS13; this is in supplement to the coreTests running cross platform and versions still including Python 3.9
1 parent a6e21c2 commit 812daff

File tree

1 file changed

+2
-41
lines changed

1 file changed

+2
-41
lines changed

.github/workflows/fullTest.yaml

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -10,47 +10,8 @@ on:
1010
workflow_dispatch:
1111

1212
jobs:
13-
testPython309:
14-
runs-on: macos-12
15-
strategy:
16-
fail-fast: false
17-
steps:
18-
- uses: actions/checkout@v4
19-
20-
- name: Set up Python 3.9
21-
uses: actions/setup-python@v5
22-
with:
23-
python-version: '3.9'
24-
cache: 'pip'
25-
cache-dependency-path: 'pyproject.toml'
26-
27-
- name: Install Dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
python -m pip install --upgrade setuptools
31-
python -m pip install wheel flask pytest pytest-cov
32-
python -m pip install -e ".[dev]"
33-
34-
- name: Download Models
35-
id: DownloadModelsAttempt1
36-
run: python -c "import pysipfenn; c = pysipfenn.Calculator(); c.downloadModels(); c.loadModels();"
37-
continue-on-error: true
38-
39-
- name: Download Models Retry if failed the first time
40-
if: failure()
41-
run: python -c "import time; time.sleep(120); import pysipfenn; c = pysipfenn.Calculator(autoLoad=False); c.downloadModels(); c.loadModels();"
42-
43-
- name: Test with pytest
44-
run: pytest --durations=0 --cov=pysipfenn --cov-report=xml
45-
env:
46-
MODELS_FETCHED: true
47-
48-
- name: Upload coverage reports to Codecov
49-
uses: codecov/codecov-action@v3
50-
5113
testPython310:
52-
needs: testPython309
53-
runs-on: macos-12
14+
runs-on: macos-13
5415
steps:
5516
- uses: actions/checkout@v4
5617

@@ -84,7 +45,7 @@ jobs:
8445

8546
testPython311:
8647
needs: testPython310
87-
runs-on: macos-12
48+
runs-on: macos-13
8849
steps:
8950
- uses: actions/checkout@v4
9051

0 commit comments

Comments
 (0)