1
- name : Tests
1
+ name : TestsMacOS
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
- paths-ignore :
8
- - ' DoodleBUGS/**'
7
+ paths :
8
+ - ' JuliaBUGS/**'
9
+ - ' .github/workflows/TestsMacOS.yml'
9
10
pull_request :
10
- paths-ignore :
11
- - ' DoodleBUGS/**'
11
+ paths :
12
+ - ' JuliaBUGS/**'
13
+ - ' .github/workflows/TestsMacOS.yml'
12
14
workflow_dispatch :
13
15
14
16
jobs :
@@ -48,15 +50,19 @@ jobs:
48
50
path : |
49
51
~/.julia
50
52
~/.julia/artifacts
51
- key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
53
+ key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('JuliaBUGS/ **/Project.toml', 'JuliaBUGS/ **/Manifest.toml') }}
52
54
restore-keys : |
53
55
${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-
54
56
${{ runner.os }}-julia-${{ matrix.version }}-
55
57
56
58
- uses : julia-actions/julia-buildpkg@v1
59
+ with :
60
+ project : JuliaBUGS
57
61
58
62
- name : Running ${{ matrix.test_group }} tests
59
63
uses : julia-actions/julia-runtest@v1
64
+ with :
65
+ project : JuliaBUGS
60
66
env :
61
67
TEST_GROUP : ${{ matrix.test_group }}
62
68
@@ -91,15 +97,19 @@ jobs:
91
97
path : |
92
98
~/.julia
93
99
~/.julia/artifacts
94
- key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
100
+ key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('JuliaBUGS/ **/Project.toml', 'JuliaBUGS/ **/Manifest.toml') }}
95
101
restore-keys : |
96
102
${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-
97
103
${{ runner.os }}-julia-${{ matrix.version }}-
98
104
99
105
- uses : julia-actions/julia-buildpkg@v1
106
+ with :
107
+ project : JuliaBUGS
100
108
101
109
- name : Running ${{ matrix.test_group }} tests
102
110
uses : julia-actions/julia-runtest@v1
111
+ with :
112
+ project : JuliaBUGS
103
113
env :
104
114
TEST_GROUP : ${{ matrix.test_group }}
105
115
@@ -129,19 +139,23 @@ jobs:
129
139
path : |
130
140
~/.julia
131
141
~/.julia/artifacts
132
- key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
142
+ key : ${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-${{ hashFiles('JuliaBUGS/ **/Project.toml', 'JuliaBUGS/ **/Manifest.toml') }}
133
143
restore-keys : |
134
144
${{ runner.os }}-julia-${{ matrix.version }}-${{ matrix.arch }}-
135
145
${{ runner.os }}-julia-${{ matrix.version }}-
136
146
137
147
- uses : julia-actions/julia-buildpkg@v1
148
+ with :
149
+ project : JuliaBUGS
138
150
139
151
- name : Set thread count
140
152
id : threads
141
153
run : echo "count=$(sysctl -n hw.activecpu)" >> $GITHUB_OUTPUT
142
154
143
155
- name : Running parallel_sampling tests
144
156
uses : julia-actions/julia-runtest@v1
157
+ with :
158
+ project : JuliaBUGS
145
159
env :
146
160
TEST_GROUP : parallel_sampling
147
161
JULIA_NUM_THREADS : ${{ steps.threads.outputs.count }}
0 commit comments