-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
41 lines (39 loc) · 1.17 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
stages:
- test
- coverage
julia/1.8.3:
stage: test
tags:
- bauerc-noctua
variables:
SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 40 -t 00:15:00 -A pc2-mitarbeiter -p all --exclusive"
JULIA_NUM_THREADS: "40"
only:
- main
- pushes
- tags
- external_pull_requests
script:
- /bin/bash -l
- module load lang/JuliaHPC/1.8.3-foss-2022a-CUDA-11.7.0
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test();'
# we don't really want to test the package here (it's fine if tests are failing)
julia/1.8-coverage:
stage: coverage
tags:
- bauerc-noctua
variables:
SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 40 -t 00:15:00 -A pc2-mitarbeiter -p all --exclusive"
JULIA_NUM_THREADS: "40"
only:
- main
- pushes
- tags
- external_pull_requests
script:
- /bin/bash -l
- module load lang/JuliaHPC/1.8.3-foss-2022a-CUDA-11.7.0
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test(; coverage = true);'
- julia --color=yes --project=test/coverage -e 'import Pkg; Pkg.instantiate()'
- julia --color=yes --project=test/coverage test/coverage/coverage.jl
allow_failure: true