You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timeout-minutes: 120# this usually takes 20-45 minutes (or hangs for 6+ hours).
144
151
# JULIA_CONDAPKG_EXE points to the existing conda/mamba to avoid JuliaCall from installing their own. See https://juliapy.github.io/PythonCall.jl/stable/pythoncall/#If-you-already-have-a-Conda-environment.
145
152
run: |
153
+
mamba install conda-forge::pyjuliacall
146
154
julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name="ReactionMechanismSimulator", url="https://github.com/hwpang/ReactionMechanismSimulator.jl.git", rev="fix_installation")); using ReactionMechanismSimulator'
147
155
148
156
- name: Install Q2DTor
@@ -158,7 +166,7 @@ jobs:
158
166
id: regression-execution
159
167
timeout-minutes: 60
160
168
run: |
161
-
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation RMS_liquidSurface_ch4o2cat fragment RMS_constantVIdealGasReactor_fragment;
169
+
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation RMS_liquidSurface_ch4o2cat fragment RMS_constantVIdealGasReactor_fragment minimal_surface;
162
170
do
163
171
if python rmg.py test/regression/"$regr_test"/input.py; then
164
172
echo "$regr_test" "Executed Successfully"
@@ -209,16 +217,16 @@ jobs:
209
217
- name : Find ID of Reference Results
210
218
env:
211
219
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
220
+
# this will search for the last successful execution of CI on main
212
221
run: |
213
-
run_id=$(gh run list -R ReactionMechanismGenerator/RMG-Py --workflow="Continuous Integration" --branch main --limit 1 --json databaseId --jq '.[0].databaseId')
222
+
run_id=$(gh run list -R ReactionMechanismGenerator/RMG-Py --workflow="Continuous Integration" --branch main --limit 15 --json databaseId,conclusion --jq 'map(select(.conclusion == "success")) | .[0].databaseId')
214
223
echo "CI_RUN_ID=$run_id" >> $GITHUB_ENV
215
224
216
225
- name: Retrieve Stable Regression Results
217
226
if: ${{ env.REFERENCE_JOB == 'false' }}
218
227
uses: actions/download-artifact@v4
219
228
with:
220
-
# this will search for the last successful execution of CI on main and download
221
-
# the stable regression results
229
+
# download stable regression results
222
230
run-id: ${{ env.CI_RUN_ID }}
223
231
repository: ReactionMechanismGenerator/RMG-Py
224
232
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -234,7 +242,7 @@ jobs:
234
242
run: |
235
243
exec 2> >(tee -a regression.stderr >&2) 1> >(tee -a regression.stdout)
236
244
mkdir -p "test/regression-diff"
237
-
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation fragment RMS_constantVIdealGasReactor_fragment;
245
+
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation fragment RMS_constantVIdealGasReactor_fragment minimal_surface;
Copy file name to clipboardExpand all lines: .github/workflows/docs.yml
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ jobs:
30
30
uses: conda-incubator/setup-miniconda@v2
31
31
with:
32
32
environment-file: environment.yml
33
-
miniforge-variant: Mambaforge
33
+
miniforge-variant: Miniforge3
34
34
miniforge-version: latest
35
35
python-version: 3.9
36
36
activate-environment: rmg_env
@@ -60,13 +60,6 @@ jobs:
60
60
make clean
61
61
make
62
62
63
-
- name: Install and link Julia dependencies
64
-
timeout-minutes: 120# this usually takes 20-45 minutes (or hangs for 6+ hours).
65
-
run: |
66
-
which julia
67
-
export JULIA_CONDAPKG_EXE=$CONDA/condabin/mamba
68
-
julia -e 'ENV["JULIA_CONDAPKG_BACKEND"] = "Current"; using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator", url="https://github.com/hwpang/ReactionMechanismSimulator.jl.git", rev="fix_installation")); using ReactionMechanismSimulator'
0 commit comments