From 72a30a248c7154f80a9e6f14b32e38f4e24dd52b Mon Sep 17 00:00:00 2001 From: Angelyr Date: Sun, 26 May 2024 22:18:02 -0400 Subject: [PATCH 1/4] fixed typo --- .github/workflows/systems.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/systems.yml b/.github/workflows/systems.yml index a3f689f6a..fde0d1c2f 100644 --- a/.github/workflows/systems.yml +++ b/.github/workflows/systems.yml @@ -1,8 +1,9 @@ name: Systems on: + push: schedule: # Sunday 4:30 UTC or 00:30 EDT - - cron: '30 4 * * 0' + - cron: '30 4 * * 1' concurrency: group: systems-omega_h @@ -50,14 +51,14 @@ jobs: - name: print build log working-directory: omega_h/.github/workflows - run: cat omega_h-test-result/Build.log + run: cat omega_h-result/Build.log - name: print test log working-directory: omega_h/.github/workflows - run: cat omega_h-test-result/Test.log + run: cat omega_h-result/Test.log - name: check failed test working-directory: omega_h/.github/workflows - run: if grep "Failed" omega_h-test-result/Test.log; then return 1; fi + run: if grep "Failed" omega_h-result/Test.log; then return 1; fi \ No newline at end of file From a4b92bf4d674ec51b2220b8d200b81890b278bca Mon Sep 17 00:00:00 2001 From: Angelyr Date: Tue, 28 May 2024 14:09:25 -0400 Subject: [PATCH 2/4] fixed comment --- .github/workflows/systems.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/systems.yml b/.github/workflows/systems.yml index fde0d1c2f..2d9609dc1 100644 --- a/.github/workflows/systems.yml +++ b/.github/workflows/systems.yml @@ -1,8 +1,7 @@ name: Systems on: - push: schedule: - # Sunday 4:30 UTC or 00:30 EDT + # Monday 4:30 UTC or 00:30 EDT - cron: '30 4 * * 1' concurrency: From ba75edf4b39bbe4208e6d475246d733f808d1874 Mon Sep 17 00:00:00 2001 From: Angelyr Date: Tue, 28 May 2024 14:45:27 -0400 Subject: [PATCH 3/4] try testing core --- .github/workflows/systems.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/systems.yml b/.github/workflows/systems.yml index 2d9609dc1..b91bf2793 100644 --- a/.github/workflows/systems.yml +++ b/.github/workflows/systems.yml @@ -1,11 +1,12 @@ name: Systems on: + push: schedule: # Monday 4:30 UTC or 00:30 EDT - cron: '30 4 * * 1' concurrency: - group: systems-omega_h + group: systems-${{ github.event.repository.name }} cancel-in-progress: true jobs: @@ -18,10 +19,10 @@ jobs: steps: - - name: checkout omega_h + - name: checkout ${{ github.event.repository.name }} uses: actions/checkout@v4 with: - path: omega_h + path: ${{ github.event.repository.name }} - name: setup python uses: actions/setup-python@v5 @@ -37,7 +38,7 @@ jobs: python -m pip install globus-compute-endpoint - name: use globus - working-directory: omega_h/.github/workflows + working-directory: ${{ github.event.repository.name }}/.github/workflows env: GLOBUS_ID: ${{ secrets.GLOBUS_COMPUTE_ID }} GLOBUS_SECRET: ${{ secrets.GLOBUS_COMPUTE_SECRET }} @@ -49,15 +50,15 @@ jobs: python test_on_system.py ${{ github.event.repository.name }} ${{ github.sha }} $TARGET_ENDPOINT - name: print build log - working-directory: omega_h/.github/workflows - run: cat omega_h-result/Build.log + working-directory: ${{ github.event.repository.name }}/.github/workflows + run: cat ${{ github.event.repository.name }}-result/Build.log - name: print test log - working-directory: omega_h/.github/workflows - run: cat omega_h-result/Test.log + working-directory: ${{ github.event.repository.name }}/.github/workflows + run: cat ${{ github.event.repository.name }}-result/Test.log - name: check failed test - working-directory: omega_h/.github/workflows - run: if grep "Failed" omega_h-result/Test.log; then return 1; fi + working-directory: ${{ github.event.repository.name }}/.github/workflows + run: if grep "Failed" ${{ github.event.repository.name }}-result/Test.log; then return 1; fi \ No newline at end of file From 55a8dc13c004806cadfb5081c3936555bace765d Mon Sep 17 00:00:00 2001 From: Angelyr Date: Tue, 28 May 2024 14:48:30 -0400 Subject: [PATCH 4/4] rename to core --- .github/workflows/systems.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/systems.yml b/.github/workflows/systems.yml index b91bf2793..292968d9e 100644 --- a/.github/workflows/systems.yml +++ b/.github/workflows/systems.yml @@ -1,12 +1,11 @@ name: Systems on: - push: schedule: # Monday 4:30 UTC or 00:30 EDT - cron: '30 4 * * 1' concurrency: - group: systems-${{ github.event.repository.name }} + group: systems-core cancel-in-progress: true jobs: @@ -19,10 +18,10 @@ jobs: steps: - - name: checkout ${{ github.event.repository.name }} + - name: checkout core uses: actions/checkout@v4 with: - path: ${{ github.event.repository.name }} + path: core - name: setup python uses: actions/setup-python@v5 @@ -38,7 +37,7 @@ jobs: python -m pip install globus-compute-endpoint - name: use globus - working-directory: ${{ github.event.repository.name }}/.github/workflows + working-directory: core/.github/workflows env: GLOBUS_ID: ${{ secrets.GLOBUS_COMPUTE_ID }} GLOBUS_SECRET: ${{ secrets.GLOBUS_COMPUTE_SECRET }} @@ -50,15 +49,15 @@ jobs: python test_on_system.py ${{ github.event.repository.name }} ${{ github.sha }} $TARGET_ENDPOINT - name: print build log - working-directory: ${{ github.event.repository.name }}/.github/workflows - run: cat ${{ github.event.repository.name }}-result/Build.log + working-directory: core/.github/workflows + run: cat core-result/Build.log - name: print test log - working-directory: ${{ github.event.repository.name }}/.github/workflows - run: cat ${{ github.event.repository.name }}-result/Test.log + working-directory: core/.github/workflows + run: cat core-result/Test.log - name: check failed test - working-directory: ${{ github.event.repository.name }}/.github/workflows - run: if grep "Failed" ${{ github.event.repository.name }}-result/Test.log; then return 1; fi + working-directory: core/.github/workflows + run: if grep "Failed" core-result/Test.log; then return 1; fi \ No newline at end of file