@@ -18,21 +18,21 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
21
- - name : Set up Julia
21
+ - name : Set up Julia (Ubuntu)
22
22
if : matrix.os == 'ubuntu-latest'
23
23
uses : julia-actions/setup-julia@v1
24
24
with :
25
25
version : ' 1.10'
26
26
27
- - name : Install dependencies
27
+ - name : Install dependencies (Ubuntu)
28
28
if : matrix.os == 'ubuntu-latest'
29
29
run : julia -e 'using Pkg; Pkg.instantiate()'
30
30
31
- - name : Run tests with coverage
31
+ - name : Run tests with coverage (Ubuntu)
32
32
if : matrix.os == 'ubuntu-latest'
33
33
run : julia --project=. -e 'using Pkg; Pkg.test(coverage=true)'
34
34
35
- - name : Upload coverage to Codecov
35
+ - name : Upload coverage to Codecov (Ubuntu)
36
36
if : matrix.os == 'ubuntu-latest'
37
37
uses : codecov/codecov-action@v3
38
38
with :
42
42
name : codecov-umbrella
43
43
fail_ci_if_error : true
44
44
45
+ - name : Set up Julia (macOS and Windows)
46
+ if : matrix.os != 'ubuntu-latest'
47
+ uses : julia-actions/setup-julia@v1
48
+ with :
49
+ version : ' 1.10'
50
+
51
+ - name : Install dependencies (macOS and Windows)
52
+ if : matrix.os != 'ubuntu-latest'
53
+ run : julia -e 'using Pkg; Pkg.instantiate()'
54
+
55
+ - name : Run tests with coverage (macOS and Windows)
56
+ if : matrix.os != 'ubuntu-latest'
57
+ run : julia --project=. -e 'using Pkg; Pkg.test(coverage=true)'
58
+
59
+ - name : Upload coverage to Codecov (macOS and Windows)
60
+ if : matrix.os != 'ubuntu-latest'
61
+ uses : codecov/codecov-action@v3
62
+ with :
63
+ token : ${{ secrets.CODECOV_TOKEN }}
64
+ files : ./coverage/lcov.info
65
+ flags : unittests
66
+ name : codecov-umbrella
67
+ fail_ci_if_error : true
68
+
45
69
- name : Run a one-line script
46
70
run : echo Hello, world! Running on ${{ matrix.os }}
47
71
0 commit comments