File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 shell : julia --color=yes --project=test --code-coverage="@" --depwarn="yes" --check-bounds="yes" {0}
3939 run : |
4040 include(joinpath(pwd(), "test", "runtests.jl"))
41- - name : " Run upstream Krotov tests"
42- shell : julia --color=yes --project=test --code-coverage="@" --depwarn="yes" --check-bounds="yes" {0}
43- run : |
44- using Pkg
45- Pkg.test("Krotov", coverage=true)
46- - name : " Run upstream GRAPE tests"
47- shell : julia --color=yes --project=test --code-coverage="@" --depwarn="yes" --check-bounds="yes" {0}
48- run : |
49- using Pkg
50- Pkg.test("GRAPE", coverage=true)
5141 - uses : julia-actions/julia-processcoverage@v1
5242 - name : " Summarize coverage"
5343 run : julia --project=test -e 'using QuantumControlTestUtils; show_coverage();'
Original file line number Diff line number Diff line change 1+ name : Test downstream GRAPE
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - dev
7+ - ' release-*'
8+ tags :
9+ - ' *'
10+ pull_request :
11+ branches :
12+ - master
13+ env :
14+ GKSwstype : 100
15+ JULIA_PKG_PRECOMPILE_AUTO : false
16+ jobs :
17+ test-grape :
18+ name : Test GRAPE
19+ runs-on : ubuntu-latest
20+ continue-on-error : true
21+ steps :
22+ - uses : actions/checkout@v6
23+ - uses : julia-actions/setup-julia@v2
24+ with :
25+ version : ' 1'
26+ - uses : julia-actions/cache@v2
27+ - name : " Instantiate test environment"
28+ run : |
29+ wget https://raw.githubusercontent.com/JuliaQuantumControl/JuliaQuantumControl/master/scripts/installorg.jl
30+ julia --project=test installorg.jl
31+ - name : " Run GRAPE tests"
32+ shell : julia --color=yes --project=test --code-coverage="@" --depwarn="yes" --check-bounds="yes" {0}
33+ run : |
34+ using Pkg
35+ Pkg.test("GRAPE", coverage=true)
36+ - name : Save Julia depot cache on cancel or failure
37+ id : julia-cache-save
38+ if : cancelled() || failure()
39+ uses : actions/cache/save@v5
40+ with :
41+ path : |
42+ ${{ steps.julia-cache.outputs.cache-paths }}
43+ key : ${{ steps.julia-cache.outputs.cache-key }}
Original file line number Diff line number Diff line change 1+ name : Test downstream Krotov
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - dev
7+ - ' release-*'
8+ tags :
9+ - ' *'
10+ pull_request :
11+ branches :
12+ - master
13+ env :
14+ GKSwstype : 100
15+ JULIA_PKG_PRECOMPILE_AUTO : false
16+ jobs :
17+ test-krotov :
18+ name : Test Krotov
19+ runs-on : ubuntu-latest
20+ continue-on-error : true
21+ steps :
22+ - uses : actions/checkout@v6
23+ - uses : julia-actions/setup-julia@v2
24+ with :
25+ version : ' 1'
26+ - uses : julia-actions/cache@v2
27+ - name : " Instantiate test environment"
28+ run : |
29+ wget https://raw.githubusercontent.com/JuliaQuantumControl/JuliaQuantumControl/master/scripts/installorg.jl
30+ julia --project=test installorg.jl
31+ - name : " Run Krotov tests"
32+ shell : julia --color=yes --project=test --code-coverage="@" --depwarn="yes" --check-bounds="yes" {0}
33+ run : |
34+ using Pkg
35+ Pkg.test("Krotov", coverage=true)
36+ - name : Save Julia depot cache on cancel or failure
37+ id : julia-cache-save
38+ if : cancelled() || failure()
39+ uses : actions/cache/save@v5
40+ with :
41+ path : |
42+ ${{ steps.julia-cache.outputs.cache-paths }}
43+ key : ${{ steps.julia-cache.outputs.cache-key }}
You can’t perform that action at this time.
0 commit comments