Skip to content

Commit cf83540

Browse files
authored
consolidate steps to avoid repeat installs
1 parent 7d3904b commit cf83540

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,9 @@ jobs:
1818
with:
1919
channel: '1.10'
2020

21-
- uses: julia-actions/cache@v2
22-
23-
- uses: julia-actions/julia-buildpkg@v1
24-
25-
- name: Build
26-
run: |
27-
julia -e 'using Pkg; Pkg.develop(Pkg.PackageSpec(path="../ReactionMechanismSimulator.jl/")); Pkg.build("ReactionMechanismSimulator");'
28-
29-
- name: Run tests
21+
- name: Build and Test
3022
run: |
31-
julia -e 'using Pkg; Pkg.test("ReactionMechanismSimulator"; coverage=true)'
23+
julia -e 'using Pkg; Pkg.develop(Pkg.PackageSpec(path="../ReactionMechanismSimulator.jl/")); Pkg.build("ReactionMechanismSimulator"); Pkg.test("ReactionMechanismSimulator"; coverage=true)'
3224
3325
- uses: julia-actions/julia-processcoverage@v1
3426

0 commit comments

Comments
 (0)