Skip to content

Commit 0fa2bd5

Browse files
committed
Minor
1 parent aa74feb commit 0fa2bd5

File tree

3 files changed

+25
-37
lines changed

3 files changed

+25
-37
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
files: "poisson_hdg.jl poisson_hho.jl"
3131
- name: Plugins
3232
files: "stokes_blocks.jl poisson_amr.jl poisson_unfitted.jl"
33-
- name: MPI
34-
files: "runtests_mpi.jl"
3533
- name: Other
3634
files: "validation.jl validation_DrWatson.jl interpolation_fe.jl poisson_dev_fe.jl geometry_dev.jl"
3735
steps:
@@ -45,7 +43,30 @@ jobs:
4543
- run: |
4644
cd test/
4745
julia --project=.. maketests.jl
48-
julia --project=.. --color=yes --check-bounds=yes ${{ matrix.test_set.files }}
46+
julia --project=.. --color=yes --check-bounds=yes runtests.jl ${{ matrix.test_set.files }}
47+
tutorials_mpi:
48+
name: Tutorials MPI ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
49+
runs-on: ${{ matrix.os }}
50+
strategy:
51+
fail-fast: false
52+
matrix:
53+
version:
54+
- '1.10'
55+
os:
56+
- ubuntu-latest
57+
arch:
58+
- x64
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: julia-actions/setup-julia@v2
62+
with:
63+
version: ${{ matrix.version }}
64+
arch: ${{ matrix.arch }}
65+
- uses: julia-actions/cache@v2
66+
- uses: julia-actions/julia-buildpkg@v1
67+
- run: |
68+
cd test/
69+
julia --project=.. --color=yes --check-bounds=yes runtests_mpi.jl
4970
docs:
5071
name: Documentation
5172
runs-on: ubuntu-latest

test/maketests.jl

Lines changed: 0 additions & 33 deletions
This file was deleted.

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function get_title(files,filename)
1010
error("File $filename not found!")
1111
end
1212

13-
if (length(ARGS) != 0)
13+
if !iszero(length(ARGS))
1414
files = [get_title(Tutorials.files,filename)=>filename for filename in ARGS]
1515
else
1616
files = Tutorials.files

0 commit comments

Comments
 (0)