77 branches : [develop, release]
88
99jobs :
10- build :
11- name : continuous-integration
12- runs-on : ${{ matrix.os }}
10+ ci :
11+ timeout-minutes : 15
1312 strategy :
1413 matrix :
14+ os : ["ubuntu-latest", "windows-latest"] # Remove MacOS (billing + github.com/ThalesGroup/scio/issues/2)
1515 python-version : ["3.12", "3.13"]
16- os : ["ubuntu-latest", "windows-latest", "macos-latest"]
17-
18-
16+ runs-on : ${{ matrix.os }}
1917 steps :
2018 - name : Checkout
2119 uses : actions/checkout@v4
2220
23- - name : Install the latest version of uv and set the python version
21+ - name : Install uv and set python version
2422 uses : astral-sh/setup-uv@v6
2523 with :
26- version : " 0.8.9 "
24+ version : " 0.8.17 "
2725 python-version : ${{ matrix.python-version }}
2826
2927 - name : Run ruff
3533 run : |
3634 uv -v run mypy
3735
36+ - name : Build & Install
37+ run : |
38+ uv -v build
39+ uv -v pip install dist/scio_pypi-1.0.0rc3-py3-none-any.whl
40+
3841 - name : Build docs (Posix)
39- if : matrix.os != 'windows-latest' && matrix.os != 'macos-latest' # Temporary (github.com/ThalesGroup/scio/issues/2)
42+ if : matrix.os != 'windows-latest'
4043 env :
4144 SPHINXOPTS : --fail-on-warning
4245 run : |
4952 run : |
5053 uv -v run cmd /c "docs\\make.bat"
5154
52- - name : Build & Install
53- run : |
54- uv -v build
55- uv -v pip install dist/scio_pypi-1.0.0rc3-py3-none-any.whl
56-
5755 - name : Run pytest
58- if : matrix.os != 'macos-latest' # Temporary (github.com/ThalesGroup/scio/issues/2)
5956 id : run-pytest
6057 continue-on-error : true
6158 run : |
@@ -67,13 +64,13 @@ jobs:
6764 with :
6865 name : pytest-observed-${{ matrix.os }}-py${{ matrix.python-version }}
6966 path : test/expected/*/*.observed.*
70- retention-days : 7
67+ retention-days : 30
7168
7269 - name : Fail the job if pytest failed
7370 if : ${{ steps.run-pytest.outcome == 'failure' }}
7471 run : exit 1
7572
76- - name : Upload coverage report to Codecov (Ubuntu, python3.13)
73+ - name : Upload coverage report to Codecov
7774 if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
7875 uses : codecov/codecov-action@v5
7976 with :
8279
8380 # TEMPORARILY DISABLED (https://github.com/ThalesGroup/scio/issues/9)
8481 # - name: Run pytest with lowest resolution
85- # if: matrix.os != 'macos-latest' # Temporary (github.com/ThalesGroup/scio/issues/2)
8682 # id: run-pytest-lowest
8783 # continue-on-error: true
8884 # run: |
0 commit comments