Skip to content

Commit

Permalink
try testing core
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed May 28, 2024
1 parent a4b92bf commit ba75edf
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/systems.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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


0 comments on commit ba75edf

Please sign in to comment.