File tree Expand file tree Collapse file tree 5 files changed +35
-11
lines changed Expand file tree Collapse file tree 5 files changed +35
-11
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ concurrency:
13
13
cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
14
14
jobs :
15
15
test :
16
- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
16
+ name : Julia ${{ matrix.group }} - ${{ matrix. version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
17
17
runs-on : ${{ matrix.os }}
18
18
timeout-minutes : 60
19
19
permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
22
22
strategy :
23
23
fail-fast : false
24
24
matrix :
25
+ # https://youtu.be/fQJrEQIRPZU?list=PLP8iPy9hna6Tze1CReUAQweWHyNdXaPNb&t=967
26
+ group :
27
+ - Basic
28
+ - Aqua
25
29
version :
30
+ - ' 1'
26
31
- ' 1.10'
27
- - ' 1.6'
28
32
os :
29
33
- ubuntu-latest
30
34
arch :
38
42
- uses : julia-actions/cache@v2
39
43
- uses : julia-actions/julia-buildpkg@v1
40
44
- uses : julia-actions/julia-runtest@v1
45
+ env :
46
+ GROUP : ${{ matrix.group }}
41
47
- uses : julia-actions/julia-processcoverage@v1
42
48
- uses : codecov/codecov-action@v4
43
49
with :
Original file line number Diff line number Diff line change 1
1
* .jl. * .cov
2
2
* .jl.cov
3
3
* .jl.mem
4
- /Manifest.toml
5
- /docs /Manifest.toml
4
+ /Manifest * .toml
5
+ /docs /Manifest * .toml
6
6
/docs /build /
7
+ test /Manifest * .toml
Original file line number Diff line number Diff line change 1
1
[deps ]
2
2
Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
3
+ SafeTestsets = " 1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
3
4
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
Original file line number Diff line number Diff line change 1
- using HybridVariationalInference
2
- using Test
3
- using Aqua
1
+ using Test, SafeTestsets
2
+ const GROUP = get (ENV , " GROUP" , " All" ) # defined in in CI.yml
4
3
5
- @testset " HybridVariationalInference.jl" begin
6
- @testset " Code quality (Aqua.jl)" begin
7
- Aqua. test_all (HybridVariationalInference)
4
+ @time begin
5
+ if GROUP == " All" || GROUP == " Basic"
8
6
end
9
- # Write your tests here.
10
7
end
8
+
9
+ @time begin
10
+ if GROUP == " All" || GROUP == " Aqua"
11
+ # @safetestset "test_aqua" include("test/test_aqua.jl")
12
+ @time @safetestset " test_aqua" include (" test_aqua.jl" )
13
+ end
14
+ end
15
+
16
+
Original file line number Diff line number Diff line change
1
+ using HybridVariationalInference
2
+ using Test
3
+ using Aqua
4
+
5
+ @testset " HybridVariationalInference.jl" begin
6
+ @testset " Code quality (Aqua.jl)" begin
7
+ Aqua. test_all (HybridVariationalInference)
8
+ end
9
+ # Write your tests here.
10
+ end
You can’t perform that action at this time.
0 commit comments