4141 runs-on : ubuntu-latest
4242
4343 strategy :
44+ fail-fast : false
4445 matrix :
45- python : ['3.8', '3.9', '3.10']
4646 env : ['base', 'fenics', 'mpi4py', 'petsc']
47+ python : ['3.8', '3.9', '3.10', '3.11', '3.12']
4748
4849 defaults :
4950 run :
6061 create-args : >-
6162 python=${{ matrix.python }}
6263
64+ - name : Install additional packages as needed
65+ run : |
66+ micromamba install -y --file etc/environment-tests.yml --freeze-installed
67+
6368 - name : Run pytest for CPU stuff
6469 run : |
6570 echo "print('Loading sitecustomize.py...')
8287 data_3.10
8388 coverage_${{ matrix.env }}_3.10.dat
8489
90+ project_cpu_tests_linux :
91+ runs-on : ubuntu-latest
92+
93+ strategy :
94+ fail-fast : false
95+ matrix :
96+ env :
97+ - AllenCahn_Bayreuth
98+ - AsympConv
99+ - DAE
100+ - FastWaveSlowWave
101+ # - GPU
102+ - Hamiltonian
103+ - matrixPFASST
104+ - parallelSDC
105+ - parallelSDC_reloaded
106+ - PinTSimE
107+ - RDC
108+ - Resilience
109+ - SDC_showdown
110+ - Second_orderSDC
111+ - soft_failure
112+ - TOMS
113+ python : ['3.8', '3.9', '3.10', '3.11', '3.12']
114+ exclude :
115+ - env : parallelSDC
116+ python : ' 3.11'
117+ - env : parallelSDC
118+ python : ' 3.12'
119+
120+ defaults :
121+ run :
122+ shell : bash -l {0}
123+
124+ steps :
125+ - name : Checkout
126+ uses : actions/checkout@v3
127+
128+ - name : Install Conda environment with Micromamba
129+ uses : mamba-org/setup-micromamba@v1
130+ with :
131+ environment-file : " pySDC/projects/${{ matrix.env }}/environment.yml"
132+ create-args : >-
133+ python=${{ matrix.python }}
134+
135+ - name : Install additional packages as needed
136+ run : |
137+ micromamba install -y --file etc/environment-tests.yml --freeze-installed
138+
139+ - name : Run pytest for CPU stuff
140+ run : |
141+ echo "print('Loading sitecustomize.py...')
142+ import coverage
143+ coverage.process_startup() " > sitecustomize.py
144+ coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/projects/${{ matrix.env }}/tests
145+
146+ - name : Make coverage report
147+ run : |
148+ mv data data_${{ matrix.python }}
149+ coverage combine
150+ mv .coverage coverage_${{ matrix.env }}_${{ matrix.python }}.dat
151+
152+ - name : Uploading artifacts
153+ uses : actions/upload-artifact@v3
154+ if : matrix.python == '3.10'
155+ with :
156+ name : cpu-test-artifacts
157+ path : |
158+ data_3.10
159+ coverage_${{ matrix.env }}_3.10.dat
160+
85161 user_libpressio_tests :
86162 runs-on : ubuntu-latest
87163
@@ -108,7 +184,7 @@ jobs:
108184 source /opt/spack/share/spack/setup-env.sh
109185 spack load libpressio
110186
111- coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m libpressio
187+ coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/projects/compression/ tests -m libpressio
112188
113189 - name : Make coverage report
114190 run : |
@@ -156,7 +232,7 @@ jobs:
156232 echo "print('Loading sitecustomize.py...')
157233 import coverage
158234 coverage.process_startup() " > sitecustomize.py
159- coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/tests -m monodomain
235+ coverage run -m pytest --continue-on-collection-errors -v --durations=0 pySDC/projects/Monodomain/ tests -m monodomain
160236
161237 - name : Make coverage report
162238 run : |
@@ -215,6 +291,7 @@ jobs:
215291 needs :
216292 - lint
217293 - user_cpu_tests_linux
294+ - project_cpu_tests_linux
218295 - user_libpressio_tests
219296 - user_monodomain_tests_linux
220297# - wait_for_gitlab
@@ -230,7 +307,7 @@ jobs:
230307 - name : Install Conda environment with Micromamba
231308 uses : mamba-org/setup-micromamba@v1
232309 with :
233- environment-file : " etc/environment-base .yml"
310+ environment-file : " etc/environment-postprocess .yml"
234311
235312 - name : Downloading artifacts
236313 uses : actions/download-artifact@v3
0 commit comments