Skip to content

Commit a161fe1

Browse files
hwpangJacksonBurns
authored andcommitted
Install with CondaPkg
1 parent 3e76a06 commit a161fe1

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
@@ -28,10 +28,14 @@ jobs:
2828
- uses: julia-actions/julia-buildpkg@v1
2929
- name: Build
3030
run: |
31-
julia -e 'using Pkg; Pkg.develop(PackageSpec(path="../ReactionMechanismSimulator.jl")); Pkg.build("ReactionMechanismSimulator");'
31+
current_path=${{ github.workspace }}
32+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
33+
julia -e 'using Pkg; Pkg.develop(Pkg.PackageSpec(path="../ReactionMechanismSimulator.jl/")); Pkg.build("ReactionMechanismSimulator");'
3234
- name: Run tests
3335
run: |
34-
julia -e 'using Pkg; Pkg.test("ReactionMechanismSimulator";coverage=true)'
36+
current_path=${{ github.workspace }}
37+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
38+
julia -e 'using Pkg; Pkg.test("ReactionMechanismSimulator"; coverage=true)'
3539
- uses: julia-actions/julia-processcoverage@v1
3640
- uses: codecov/codecov-action@v1
3741
with:

0 commit comments

Comments
 (0)