File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test CI
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+ branches : [main, master]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - uses : julia-actions/setup-julia@v1
17+ with :
18+ version : " 1" # <-- Or your preferred Julia version
19+
20+ - name : Cache Julia deps
21+ uses : actions/cache@v4
22+ with :
23+ path : |
24+ ~/.julia/artifacts
25+ ~/.julia/compiled
26+ ~/.julia/environments
27+ ~/.julia/packages
28+ key : ${{ runner.os }}-julia-${{ hashFiles('Project.toml', 'Manifest.toml') }}
29+
30+ - name : Install dependencies
31+ run : julia --project=. -e 'import Pkg; Pkg.instantiate()'
32+
33+ - name : Run tests
34+ run : julia --project=. -e 'import Pkg; Pkg.test()'
You can’t perform that action at this time.
0 commit comments