|
2 | 2 | # This file contains the script used by GitHub actions to execute the Continuous Integration (CI) |
3 | 3 | # for RMG-Py. This includes building RMG and its dependencies, executing the unit tests, |
4 | 4 | # functional tests, database tests, and regression tests. |
5 | | -# |
| 5 | +# |
6 | 6 | # This will run automatically on any push to any branch, but will only run one instance of |
7 | 7 | # itself at a time per branch (to avoid spawning tons of runners, which prevents them from |
8 | 8 | # executing). |
|
14 | 14 | # |
15 | 15 | # |
16 | 16 | # Changelog: |
17 | | -# 2023-04 - Jackson Burns - Added this header, regression tests, cleanup of action in |
| 17 | +# 2023-04 - Jackson Burns - Added this header, regression tests, cleanup of action in |
18 | 18 | # in general, and documentation throughout the file. |
19 | 19 | # 2023-05 - added Docker build steps |
20 | 20 | # 2023-05-12 - added changes to allow running on forks |
@@ -47,14 +47,19 @@ concurrency: |
47 | 47 | env: |
48 | 48 | # if running on RMG-Py but requiring changes on an un-merged branch of RMG-database, replace |
49 | 49 | # main with the name of the branch |
50 | | - RMG_DATABASE_BRANCH: main |
| 50 | + RMG_DATABASE_BRANCH: lithium_rebase |
51 | 51 |
|
52 | 52 |
|
53 | 53 | jobs: |
54 | 54 | build-osx: |
55 | 55 | runs-on: macos-13 |
56 | 56 | # skip scheduled runs from forks |
57 | 57 | if: ${{ !( github.repository != 'ReactionMechanismGenerator/RMG-Py' && github.event_name == 'schedule' ) }} |
| 58 | + env: |
| 59 | + # Update this if needed to match a pull request on the RMG-database: |
| 60 | + RMG_DATABASE_BRANCH: lithium_rebase |
| 61 | + # This is true only if this is a reference case for the regression testing: |
| 62 | + REFERENCE_JOB: ${{ github.ref == 'refs/heads/main' && matrix.os =='ubuntu-latest' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }} |
58 | 63 | defaults: |
59 | 64 | run: |
60 | 65 | shell: bash -l {0} |
@@ -113,7 +118,7 @@ jobs: |
113 | 118 | runs-on: ubuntu-latest |
114 | 119 | # skip scheduled runs from forks |
115 | 120 | if: ${{ !( github.repository != 'ReactionMechanismGenerator/RMG-Py' && github.event_name == 'schedule' ) }} |
116 | | - env: |
| 121 | + env: |
117 | 122 | # This is true only if this is a reference case for the regression testing: |
118 | 123 | REFERENCE_JOB: ${{ github.ref == 'refs/heads/main' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }} |
119 | 124 | defaults: |
@@ -175,7 +180,7 @@ jobs: |
175 | 180 | timeout-minutes: 120 # this usually takes 20-45 minutes (or hangs for 6+ hours). |
176 | 181 | run: | |
177 | 182 | python -c "import julia; julia.install(); import diffeqpy; diffeqpy.install()" |
178 | | - julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="main")); using ReactionMechanismSimulator' |
| 183 | + julia -e 'using Pkg; Pkg.add(PackageSpec(name="ReactionMechanismSimulator",rev="marcus_development")); using ReactionMechanismSimulator' |
179 | 184 |
|
180 | 185 | - name: Install Q2DTor |
181 | 186 | run: echo "" | make q2dtor |
|
0 commit comments