Skip to content

Commit 2d2f8d3

Browse files
committed
ci: Update 20.04 runners to 22.04
1 parent 19cfcb6 commit 2d2f8d3

2 files changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/pytest-core-mpi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818
test-mpi-basic:
1919
name: pytest-mpi
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
python-version: ['3.9', '3.11']
@@ -76,20 +76,20 @@ jobs:
7676
os: ubuntu-latest
7777
# Need safe math for icx due to inaccuracy with mpi+sinc interpolation
7878
mpiflag: "-e DEVITO_SAFE_MATH=1"
79-
79+
8080
steps:
8181
- name: Checkout devito
8282
uses: actions/checkout@v4
83-
83+
8484
- name: Build docker image
8585
run: |
8686
docker build . --file docker/Dockerfile.devito --tag devito_img --build-arg base=devitocodes/bases:cpu-${{ matrix.arch }}
87-
87+
8888
- name: Test with pytest
8989
run: |
9090
docker run --init -t --rm -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} -e OMP_NUM_THREADS=1 --name testrun devito_img pytest tests/test_mpi.py
9191
9292
- name: Test examples with MPI
9393
run: |
9494
docker run --init -t --rm ${{ matrix.mpiflag }} -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/acoustic
95-
docker run --init -t --rm -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti
95+
docker run --init -t --rm -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti

.github/workflows/pytest-core-nompi.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ jobs:
5858

5959
- name: pytest-ubuntu-py39-gcc7-omp
6060
python-version: '3.9'
61-
os: ubuntu-20.04
61+
os: ubuntu-22.04
6262
arch: "gcc-7"
6363
language: "openmp"
6464
sympy: "1.9"
6565

6666
- name: pytest-ubuntu-py310-gcc10-noomp
6767
python-version: '3.10'
68-
os: ubuntu-20.04
68+
os: ubuntu-22.04
6969
arch: "gcc-10"
7070
language: "C"
7171
sympy: "1.11"
@@ -77,13 +77,6 @@ jobs:
7777
language: "openmp"
7878
sympy: "1.13"
7979

80-
- name: pytest-ubuntu-py39-gcc9-omp
81-
python-version: '3.9'
82-
os: ubuntu-20.04
83-
arch: "custom"
84-
language: "openmp"
85-
sympy: "1.10"
86-
8780
- name: pytest-osx-py312-clang-omp
8881
python-version: '3.12'
8982
os: macos-latest
@@ -152,7 +145,7 @@ jobs:
152145
echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
153146
fi
154147
id: set-tests
155-
148+
156149
- name: Set pip flags for latest python (3.12)
157150
run: |
158151
if [ "${{ matrix.python-version }}" == '3.12' ]; then

0 commit comments

Comments
 (0)