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:
1313 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1414jobs :
1515 test :
16- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
16+ name : Julia ${{ matrix.group }} - ${{ matrix. version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1717 runs-on : ${{ matrix.os }}
1818 timeout-minutes : 60
1919 permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
2222 strategy :
2323 fail-fast : false
2424 matrix :
25+ # https://youtu.be/fQJrEQIRPZU?list=PLP8iPy9hna6Tze1CReUAQweWHyNdXaPNb&t=967
26+ group :
27+ - Basic
28+ - Aqua
2529 version :
30+ - ' 1'
2631 - ' 1.10'
27- - ' 1.6'
2832 os :
2933 - ubuntu-latest
3034 arch :
3842 - uses : julia-actions/cache@v2
3943 - uses : julia-actions/julia-buildpkg@v1
4044 - uses : julia-actions/julia-runtest@v1
45+ env :
46+ GROUP : ${{ matrix.group }}
4147 - uses : julia-actions/julia-processcoverage@v1
4248 - uses : codecov/codecov-action@v4
4349 with :
Original file line number Diff line number Diff line change 11* .jl. * .cov
22* .jl.cov
33* .jl.mem
4- /Manifest.toml
5- /docs /Manifest.toml
4+ /Manifest * .toml
5+ /docs /Manifest * .toml
66/docs /build /
7+ test /Manifest * .toml
Original file line number Diff line number Diff line change 11[deps ]
22Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
3+ SafeTestsets = " 1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
34Test = " 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
43
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"
86 end
9- # Write your tests here.
107end
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