Skip to content

Commit 968a836

Browse files
committed
Updated CI
1 parent 123b058 commit 968a836

1 file changed

Lines changed: 10 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
- pull_request
55
jobs:
66
SequentialTests:
7-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
7+
name: Serial Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
fail-fast: false
@@ -21,25 +21,18 @@ jobs:
2121
with:
2222
version: ${{ matrix.version }}
2323
arch: ${{ matrix.arch }}
24-
- uses: actions/cache@v4
25-
env:
26-
cache-name: cache-artifacts
27-
with:
28-
path: ~/.julia/artifacts
29-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
30-
restore-keys: |
31-
${{ runner.os }}-test-${{ env.cache-name }}-
32-
${{ runner.os }}-test-
33-
${{ runner.os }}-
24+
- uses: julia-actions/cache@v2
3425
- uses: julia-actions/julia-buildpkg@v1
3526
- run: julia --project=. -e 'using Pkg; Pkg.instantiate()'
3627
- run: julia --project=. --color=yes --check-bounds=yes test/sequential/runtests.jl
3728
- uses: julia-actions/julia-processcoverage@v1
3829
- uses: codecov/codecov-action@v5
3930
with:
40-
file: lcov.info
31+
verbose: true
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
flags: sequential
4134
MPITests:
42-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
35+
name: MPI Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
4336
runs-on: ${{ matrix.os }}
4437
strategy:
4538
fail-fast: false
@@ -52,21 +45,11 @@ jobs:
5245
- x64
5346
steps:
5447
- uses: actions/checkout@v4
55-
- uses: actions/cache@v4
56-
env:
57-
cache-name: cache-artifacts
58-
with:
59-
path: ~/.julia/artifacts
60-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
61-
restore-keys: |
62-
${{ runner.os }}-test-${{ env.cache-name }}-
63-
${{ runner.os }}-test-
64-
${{ runner.os }}-
48+
- uses: julia-actions/cache@v2
6549
- uses: julia-actions/setup-julia@v2
6650
with:
6751
version: ${{ matrix.version }}
6852
arch: ${{ matrix.arch }}
69-
#- uses: julia-actions/julia-buildpkg@v1
7053
- run: |
7154
julia --project=test/TestApp/ -e '
7255
using Pkg
@@ -77,7 +60,9 @@ jobs:
7760
- uses: julia-actions/julia-processcoverage@v1
7861
- uses: codecov/codecov-action@v5
7962
with:
80-
file: lcov.info
63+
verbose: true
64+
token: ${{ secrets.CODECOV_TOKEN }}
65+
flags: mpi
8166
docs:
8267
name: Documentation
8368
runs-on: ubuntu-latest
@@ -91,11 +76,6 @@ jobs:
9176
using Pkg
9277
Pkg.develop(PackageSpec(path=pwd()))
9378
Pkg.instantiate()'
94-
# - run: |
95-
# julia --project=docs -e '
96-
# using Documenter: doctest
97-
# using Gridap
98-
# doctest(Gridap)'
9979
- run: julia --project=docs docs/make.jl
10080
env:
10181
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)