File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 27
27
- uses : julia-actions/julia-buildpkg@v1
28
28
- name : Build
29
29
run : |
30
- current_path=${{ github.workspace }}
31
- export JULIA_CONDAPKG_ENV="$current_path/rms_env"
32
30
julia -e 'using Pkg; Pkg.develop(Pkg.PackageSpec(path="../ReactionMechanismSimulator.jl/")); Pkg.build("ReactionMechanismSimulator");'
33
31
- name : Run tests
34
32
run : |
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ using CondaPkg
2
2
using PythonCall
3
3
packages = keys (CondaPkg. current_packages ())
4
4
if ! (" rmg" in packages) && ! (" rmgmolecule" in packages)
5
+ ENV [" JULIA_CONDAPKG_ENV" ] = abspath (" ../rms_env" )
5
6
CondaPkg. add (" rmgmolecule" ; version= " >=0.3.0" , channel= " mjohnson541" )
6
7
end
7
8
if ! (v " 3.7" <= PythonCall. C. python_version () && PythonCall. C. python_version () <= v " 3.9" )
Original file line number Diff line number Diff line change 11
11
PythonCall. pycopy! (molecule, pyimport (" rmgpy.molecule" ))
12
12
PythonCall. pycopy! (fragment, pyimport (" rmgpy.molecule.fragment" ))
13
13
catch e
14
+ ENV [" JULIA_CONDAPKG_ENV" ] = abspath (" ../../rms_env" )
14
15
PythonCall. pycopy! (molecule, pyimport (" molecule.molecule" ))
15
16
PythonCall. pycopy! (fragment, pyimport (" molecule.molecule.fragment" ))
16
17
end
You can’t perform that action at this time.
0 commit comments