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
# configures the mamba environment manager and builds the environment
115
-
- name: Setup Mambaforge Python 3.7
137
+
- name: Setup Miniforge Python 3.7
116
138
uses: conda-incubator/setup-miniconda@v3
117
139
with:
118
140
environment-file: environment.yml
119
-
miniforge-variant: Mambaforge
141
+
miniforge-variant: Miniforge3
120
142
miniforge-version: latest
121
143
python-version: 3.7
144
+
condarc-file: condarc.yml
122
145
activate-environment: rmg_env
123
146
use-mamba: true
124
147
@@ -167,7 +190,7 @@ jobs:
167
190
id: regression-execution
168
191
timeout-minutes: 60
169
192
run: |
170
-
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;
193
+
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;
171
194
do
172
195
if python-jl rmg.py test/regression/"$regr_test"/input.py; then
173
196
echo "$regr_test" "Executed Successfully"
@@ -218,16 +241,16 @@ jobs:
218
241
- name : Find ID of Reference Results
219
242
env:
220
243
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
244
+
# this will search for the last successful execution of CI on main
221
245
run: |
222
-
run_id=$(gh run list -R ReactionMechanismGenerator/RMG-Py --workflow="Continuous Integration" --branch main --limit 1 --json databaseId --jq '.[0].databaseId')
246
+
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')
223
247
echo "CI_RUN_ID=$run_id" >> $GITHUB_ENV
224
248
225
249
- name: Retrieve Stable Regression Results
226
250
if: ${{ env.REFERENCE_JOB == 'false' }}
227
251
uses: actions/download-artifact@v4
228
252
with:
229
-
# this will search for the last successful execution of CI on main and download
230
-
# the stable regression results
253
+
# download stable regression results
231
254
run-id: ${{ env.CI_RUN_ID }}
232
255
repository: ReactionMechanismGenerator/RMG-Py
233
256
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -243,7 +266,7 @@ jobs:
243
266
run: |
244
267
exec 2> >(tee -a regression.stderr >&2) 1> >(tee -a regression.stdout)
245
268
mkdir -p "test/regression-diff"
246
-
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation fragment RMS_constantVIdealGasReactor_fragment;
269
+
for regr_test in aromatics liquid_oxidation nitrogen oxidation sulfur superminimal RMS_constantVIdealGasReactor_superminimal RMS_CSTR_liquid_oxidation fragment RMS_constantVIdealGasReactor_fragment minimal_surface;
julia -e 'using Pkg; Pkg.add(PackageSpec(name="PyCall",rev="master")); Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator' && \
73
+
julia -e 'using Pkg; Pkg.add(PackageSpec(name="PyCall",rev="master")); Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev=ENV["rmsbranch"])); using ReactionMechanismSimulator' && \
0 commit comments