1515 fail-fast : false
1616 matrix :
1717 version :
18- - ' 1.0 '
18+ - ' 1.6 ' # latest LTS
1919 - ' 1'
2020 - ' nightly'
2121 os :
@@ -25,36 +25,36 @@ jobs:
2525 arch :
2626 - x64
2727 steps :
28- - uses : actions/checkout@v2
29- - uses : julia-actions/setup-julia@v1
28+ - uses : actions/checkout@v3
29+ - uses : julia-actions/setup-julia@latest
3030 with :
3131 version : ${{ matrix.version }}
3232 arch : ${{ matrix.arch }}
33- - uses : actions/cache@v1
34- env :
35- cache-name : cache-artifacts
36- with :
37- path : ~/.julia/artifacts
38- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39- restore-keys : |
40- ${{ runner.os }}-test-${{ env.cache-name }}-
41- ${{ runner.os }}-test-
42- ${{ runner.os }}-
43- - uses : julia-actions/julia-buildpkg@v1
44- - uses : julia-actions/julia-runtest@v1
33+ - uses : julia-actions/cache@v1
34+ - uses : julia-actions/julia-buildpkg@latest
35+ - uses : julia-actions/julia-runtest@latest
4536 - name : Revise tests
4637 if : ${{ matrix.os == 'ubuntu-latest' }}
47- run : julia -e 'using Pkg; Pkg.develop(PackageSpec(path=".")); Pkg.add(PackageSpec(url="https://github.com/timholy/Revise.jl")); Pkg.test("Revise")'
38+ run : |
39+ julia -e '
40+ using Pkg
41+ Pkg.develop(path=".")
42+ Pkg.add(url="https://github.com/timholy/Revise.jl")
43+ Pkg.test("Revise")
44+ '
4845 - name : Test while running Revise
4946 if : ${{ matrix.os == 'ubuntu-latest' && matrix.version != '1.0' }}
50- run : TERM="xterm" julia --project -i --code-coverage -e 'using InteractiveUtils, REPL, Revise, Pkg;
51- Pkg.add("ColorTypes");
52- @async(Base.run_main_repl(true, true, false, true, false));
53- sleep(2);
54- cd("test");
55- include("runtests.jl");
56- REPL.eval_user_input(:(exit()), Base.active_repl_backend)'
57- - uses : julia-actions/julia-processcoverage@v1
58- - uses : codecov/codecov-action@v1
47+ run : |
48+ TERM="xterm" julia --project -i --code-coverage -e '
49+ using InteractiveUtils, REPL, Revise, Pkg
50+ Pkg.add("ColorTypes")
51+ # @async(Base.run_main_repl(true, true, false, true, false))
52+ sleep(2)
53+ cd("test")
54+ include("runtests.jl")
55+ REPL.eval_user_input(:(exit()), Base.active_repl_backend)
56+ '
57+ - uses : julia-actions/julia-processcoverage@latest
58+ - uses : codecov/codecov-action@v3
5959 with :
6060 file : lcov.info
0 commit comments