Skip to content

Commit b9e777d

Browse files
committed
Install with CondaPkg
1 parent dfe380d commit b9e777d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ jobs:
2727
- uses: julia-actions/julia-buildpkg@v1
2828
- name: Build
2929
run: |
30-
julia -e 'using Pkg; Pkg.develop(PackageSpec(path="../ReactionMechanismSimulator.jl")); Pkg.build("ReactionMechanismSimulator");'
30+
current_path=${{ github.workspace }}
31+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
32+
julia -e 'using Pkg; Pkg.develop(Pkg.PackageSpec(path="../ReactionMechanismSimulator.jl/")); Pkg.build("ReactionMechanismSimulator");'
3133
- name: Run tests
3234
run: |
33-
julia -e 'using Pkg; Pkg.test("ReactionMechanismSimulator";coverage=true)'
35+
current_path=${{ github.workspace }}
36+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
37+
julia -e 'using Pkg; Pkg.test("ReactionMechanismSimulator"; coverage=true)'
3438
- uses: julia-actions/julia-processcoverage@v1
3539
- uses: codecov/codecov-action@v1
3640
with:

0 commit comments

Comments
 (0)