Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fborello-lambda committed Jan 30, 2025
1 parent c3100cc commit 18e0a9e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci_levm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:

jobs:
ef-test:
if: ${{ github.event_name != 'merge_group' }}
name: EF Tests Check
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:

# Check we don't have a regression against main
hive-test:
if: ${{ github.event_name != 'merge_group' }}
name: Hive Tests Check
needs: hive-report-creation
runs-on: ubuntu-latest
Expand Down Expand Up @@ -107,6 +109,27 @@ jobs:
exit 1
fi
# The purpose of this job is to add it as a required check in GitHub so that we don't have to add every individual job as a required check
all-tests:
# "Integration Test" is a required check, don't change the name
name: Integration Test
runs-on: ubuntu-latest
needs: [hive-test, ef-test]
# Make sure this job runs even if the previous jobs failed or were skipped
if: ${{ always() && needs.hive-test.result != 'skipped' && needs.ef-test.result != 'skipped' }}
steps:
- name: Check if any job failed
run: |
if [ "${{ needs.hive-test.result }}" != "success" ]; then
echo "Job Hive Tests Check failed"
exit 1
fi
if [ "${{ needs.ef-test.result }}" != "success" ]; then
echo "Job EF Tests Check failed"
exit 1
fi
test:
# "Test" is a required check, don't change the name
name: Test
Expand Down

0 comments on commit 18e0a9e

Please sign in to comment.