From 27a6620c9e9869938b6d1f3f2a10f2cd9111a757 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Fri, 8 Sep 2023 13:57:26 +0200 Subject: [PATCH 1/3] add iaxo to validation --- .github/workflows/validation.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index e1f143143..ce21e141d 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -333,6 +333,34 @@ jobs: restManager --batch --c classify.rml restRoot -b -q ValidateClassify.C + iaxo: + name: "IAXO simulations" + runs-on: ubuntu-latest + container: + image: ghcr.io/lobis/root-geant4-garfield:rest-for-physics + needs: [ framework-install ] + steps: + - uses: actions/checkout@v3 + with: + repository: rest-for-physics/framework + path: framework + - name: Checkout framework branch + run: | + cd framework + ./scripts/checkoutRemoteBranch.sh ${{ env.BRANCH_NAME }} + - name: Restore cache + uses: actions/cache@v3 + id: framework-install-cache + with: + key: ${{ env.BRANCH_NAME }}-${{ github.sha }} + path: ${{ env.REST_PATH }} + - name: Check iaxo projects + run: | + cd framework/projects/iaxo/iaxo-simulations + git submodule update --init --recursive + git pull + git checkout master + examples: name: Run examples runs-on: ubuntu-latest From 578fbc33830977d79c00e7388cbd4edb66d749a1 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Mon, 18 Sep 2023 19:30:38 +0200 Subject: [PATCH 2/3] update iaxo validation --- .github/workflows/validation.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index ce21e141d..e24f5cef4 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -356,10 +356,14 @@ jobs: path: ${{ env.REST_PATH }} - name: Check iaxo projects run: | - cd framework/projects/iaxo/iaxo-simulations - git submodule update --init --recursive - git pull - git checkout master + cd framework/ + python3 pull-submodules --latest + cd projects/ + ls + cd iaxo + ls + cd iaxo-simulations + ls examples: name: Run examples From c526c723a7092375e432e465561cdb837f867313 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio <35803280+lobis@users.noreply.github.com> Date: Mon, 18 Sep 2023 20:14:08 +0200 Subject: [PATCH 3/3] Update validation.yml --- .github/workflows/validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index e24f5cef4..ecf30488c 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -357,7 +357,7 @@ jobs: - name: Check iaxo projects run: | cd framework/ - python3 pull-submodules --latest + python3 pull-submodules.py --latest cd projects/ ls cd iaxo