From 582539c3c7e3ee436718aec55cfb22dc0efa5d22 Mon Sep 17 00:00:00 2001 From: Su Sun Date: Sun, 24 Nov 2024 00:03:27 -0500 Subject: [PATCH] Use the lithium_rebase branch of RMG-database for CI This is needed for testing. Once lithium_rebase is merged to main on the database, we can go back to using main. --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4e2cc7a77d..1dfe55657f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -55,6 +55,11 @@ jobs: runs-on: macos-13 # skip scheduled runs from forks if: ${{ !( github.repository != 'ReactionMechanismGenerator/RMG-Py' && github.event_name == 'schedule' ) }} + env: + # Update this if needed to match a pull request on the RMG-database: + RMG_DATABASE_BRANCH: lithium_rebase + # This is true only if this is a reference case for the regression testing: + REFERENCE_JOB: ${{ github.ref == 'refs/heads/main' && matrix.os =='ubuntu-latest' && github.repository == 'ReactionMechanismGenerator/RMG-Py' }} defaults: run: shell: bash -l {0}