@@ -37,23 +37,27 @@ jobs:
3737 - uses : actions/setup-python@v5
3838 with :
3939 python-version : ${{matrix.python-version}}
40- - name : Install dependencies
41- run : |
42- pip install black
43- pip install isort
44- pip install codespell
40+ cache : ' pip'
41+
42+ - name : Cache Nox
43+ uses : actions/cache@v4
44+ with :
45+ path : .nox
46+ key : ${{ runner.os }}-lint-nox-${{ hashFiles('noxfile.py') }}
47+
48+ - name : Install nox
49+ run : pip install nox
50+
4551 - name : Formatting and sorting import
46- run : |
47- source .github/linters/formatting.sh
48- format . true
52+ run : nox -s linter
4953
50- Test-BiRD :
51- name : Test-BiRD (${{ matrix.python-version }}, ${{ matrix.os }})
54+ Unit- Test-BiRD :
55+ name : Unit- Test-BiRD (${{ matrix.python-version }}, ${{ matrix.os }})
5256 runs-on : ${{ matrix.os }}
5357 strategy :
5458 fail-fast : false
5559 matrix :
56- python-version : ['3.10', '3.13 ']
60+ python-version : ['3.10', '3.14 ']
5761 os : ['ubuntu-latest', 'macos-latest']
5862 defaults :
5963 run :
@@ -81,14 +85,15 @@ jobs:
8185 run : |
8286 micromamba install --yes -n test-env -c conda-forge paraview
8387 pip install --upgrade pip
84- pip install .
85- pip install pytest
88+ pip install --upgrade nox
89+ pip install .[tests]
8690
8791 - name : Test
88- run : pytest .
92+ run : nox -s tests -- no-reports
93+
8994
90- Test-pypi-Bird :
91- name : Test-pypi-BiRD (${{ matrix.python-version }}, ${{ matrix.os }})
95+ Unit- Test-pypi-Bird :
96+ name : Unit- Test-pypi-BiRD (${{ matrix.python-version }}, ${{ matrix.os }})
9297 runs-on : ${{ matrix.os }}
9398 strategy :
9499 fail-fast : false
@@ -120,14 +125,14 @@ jobs:
120125 run : |
121126 micromamba install --yes -n test-env -c conda-forge paraview
122127 pip install --upgrade pip
123- pip install nlr-bird
124- pip install pytest
128+ pip install --upgrade nox
129+ pip install nlr-bird[tests]
125130
126131 - name : Test
127- run : pytest .
132+ run : nox -s tests -- no-reports
128133
129- Test-OF :
130- name : Test-OF (${{ matrix.python-version }}, ${{ matrix.os }})
134+ Regression- Test-OF :
135+ name : Regression- Test-OF (${{ matrix.python-version }}, ${{ matrix.os }})
131136 runs-on : ${{ matrix.os }}
132137 strategy :
133138 fail-fast : false
0 commit comments