@@ -33,59 +33,69 @@ jobs:
33
33
version : ${{ matrix.julia-version }}
34
34
- uses : julia-actions/cache@v1
35
35
- uses : julia-actions/julia-buildpkg@v1
36
+ - uses : julia-actions/julia-runtest@v1
37
+
38
+ RunMoreTests :
39
+ needs : Test
40
+ if : github.event.ref == 'refs/heads/master'
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - uses : julia-actions/setup-julia@v1
45
+ - uses : julia-actions/cache@v1
46
+ - uses : julia-actions/julia-buildpkg@v1
36
47
# - uses: julia-actions/julia-runtest@v1
37
- - name : runtests - basic
48
+ - name : ARGS to filter the targets
38
49
run : |
39
- true
40
- julia --project=. -e 'using Pkg; Pkg.test()'
50
+ cd test/
51
+ julia --project=.. runtests.jl jive
52
+ julia --project=.. runtests.jl jive/s jive/m start=2
53
+ cd ../
54
+
55
+ - name : enable_distributed, JIVE_PROCS
56
+ run : |
57
+ cd test/
58
+ julia --project=.. -pauto -e 'using Jive; runtests(@__DIR__)'
59
+ julia --project=.. -pauto -e 'using Jive; runtests(@__DIR__, enable_distributed=false)'
60
+ cd ../
41
61
JIVE_PROCS=auto julia --project=. -e 'using Pkg; Pkg.test()'
42
62
JIVE_PROCS=0 julia --project=. -pauto -e 'using Pkg; Pkg.test()'
43
63
44
- cd test
45
- julia --project=.. runtests.jl jive
46
- julia --project=.. runtests.jl jive/s jive/m start=2
47
- cd ..
48
-
49
- - name : runtests - dev .
64
+ - name : test throwing errors
50
65
run : |
51
- julia -e 'using Pkg; Pkg.develop(path=".")'
52
- cd test
53
- julia --color=yes -pauto runtests.jl jive/s jive/m start=2
54
- julia --color=yes -pauto -e 'using Jive; runtests(@__DIR__, skip=["Example", "errors", "jive/onlyonce/heavy.jl", "jive/__END__/included.jl", "jive/s", "jive/__REPL__"], node1=["jive/m"])'
55
- julia --color=yes -pauto -e 'using Jive; runtests(@__DIR__, skip=["jive/__END__/included.jl", "jive/__REPL__"], targets=["errors", "jive"], node1=["jive/m"])' || true
56
- julia --color=yes -e 'using Jive; runtests(@__DIR__, skip=["jive/__END__/included.jl", "jive/__REPL__"], targets=["errors", "jive"], stop_on_failure=true)' || true
57
- cd ..
66
+ cd test/
67
+ julia --project=.. -e 'using Jive; runtests(@__DIR__, targets=["errors"], stop_on_failure=true)' || true
68
+ julia --project=.. -e 'using Jive; runtests(@__DIR__, targets=["errors"])' || true
69
+ cd ../
58
70
59
- - name : revise
71
+ - name : using Revise
60
72
run : |
61
73
cd test/Example/test/
62
74
julia --project=.. -e 'using Pkg; Pkg.add("Revise"); p1 = @async include("revise.jl"); Timer(3) do t; touch("example/test3.jl"); sleep(0.5); rm("example/test3.jl"); sleep(1); exit(0); end; wait(p1)' example
63
75
cd ../../../
64
76
65
77
RunForWindows :
66
- needs : Test
78
+ needs : RunMoreTests
67
79
if : github.event.ref == 'refs/heads/master'
68
80
runs-on : windows-latest
69
81
steps :
70
- - uses : actions/checkout@v4
71
- - uses : julia-actions/setup-julia@v1
72
- - uses : julia-actions/cache@v1
73
- - uses : julia-actions/julia-buildpkg@v1
74
- - uses : julia-actions/julia-runtest@v1
82
+ - uses : actions/checkout@v4
83
+ - uses : julia-actions/setup-julia@v1
84
+ - uses : julia-actions/cache@v1
85
+ - uses : julia-actions/julia-buildpkg@v1
86
+ - uses : julia-actions/julia-runtest@v1
75
87
76
88
Coverage :
77
- needs : Test
89
+ needs : RunMoreTests
78
90
if : github.event.ref == 'refs/heads/master'
79
91
runs-on : ubuntu-latest
80
92
steps :
81
- - uses : actions/checkout@v4
82
- - uses : julia-actions/setup-julia@v1
83
- - uses : julia-actions/cache@v1
84
- - uses : julia-actions/julia-buildpkg@v1
85
- # - uses: julia-actions/julia-runtest@v1
86
- - name : coverage
87
- run : |
88
- julia --version
89
- julia --project=. -e 'using Pkg; Pkg.test(coverage=true)'
90
- julia --project=. -e 'using Pkg; Pkg.add("Coverage"); using Coverage; cov = Coverage.process_folder(); mkdir("coverage"); Coverage.LCOV.writefile("coverage/lcov.info", cov)'
91
- - uses : codecov/codecov-action@v1
93
+ - uses : actions/checkout@v4
94
+ - uses : julia-actions/setup-julia@v1
95
+ - uses : julia-actions/cache@v1
96
+ - uses : julia-actions/julia-buildpkg@v1
97
+ - uses : julia-actions/julia-runtest@v1
98
+ - uses : julia-actions/julia-processcoverage@v1
99
+ - uses : codecov/codecov-action@v1
100
+ with :
101
+ file : lcov.info
0 commit comments