File tree Expand file tree Collapse file tree 2 files changed +63
-1
lines changed
Expand file tree Collapse file tree 2 files changed +63
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ test :
15+ name : Julia ${{ matrix.version }} - package tests
16+ runs-on : ubuntu-latest
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ version :
21+ - ' lts'
22+ - ' 1'
23+ steps :
24+ - uses : actions/checkout@v4
25+ with :
26+ persist-credentials : false
27+ - uses : julia-actions/setup-julia@v2
28+ with :
29+ version : ${{ matrix.version }}
30+ - uses : julia-actions/cache@v2
31+ - uses : julia-actions/julia-buildpkg@v1
32+ - uses : julia-actions/julia-runtest@v1
33+
34+ aqua :
35+ name : Julia ${{ matrix.version }} - Aqua tests
36+ runs-on : ubuntu-latest
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ version :
41+ - ' 1'
42+ steps :
43+ - uses : actions/checkout@v4
44+ with :
45+ persist-credentials : false
46+ - uses : julia-actions/setup-julia@v2
47+ with :
48+ version : ${{ matrix.version }}
49+ - uses : julia-actions/cache@v2
50+ - name : Run Aqua.jl
51+ shell : julia --color=yes {0}
52+ run : |
53+ import Pkg
54+ Pkg.activate(; temp=true)
55+ Pkg.develop(Pkg.PackageSpec(path=pwd()))
56+ Pkg.add("Aqua")
57+ Pkg.instantiate()
58+
59+ using Aqua
60+ using WebCacheUtilities
61+
62+ Aqua.test_all(WebCacheUtilities; stale_deps=false, deps_compat=false)
Original file line number Diff line number Diff line change 11using Dates: Dates, TimePeriod
22using URIs: URI
33
4- export hit_file_cache, cache_json
4+ export hit_file_cache
55
66function download_to_cache (filename:: String , url:: Union{String, URI} ; kwargs... )
77 file_path = hit_file_cache (filename; kwargs... ) do file_path
You can’t perform that action at this time.
0 commit comments