Restructure e2e tests the same way we did for the rust baseline repo #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is automatically generated by terraform. I hope it's | |
# readable, but please don't edit it. | |
"jobs": | |
"any_ci": | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "name": "Immediate success for improved visibility on github merge queue" | |
"run": "true" | |
"e2e": | |
"secrets": "inherit" | |
"uses": "./.github/workflows/e2e.yml" | |
"overall_ci": | |
"if": "always()" | |
"needs": | |
- "e2e" | |
"permissions": | |
"actions": "read" | |
"runs-on": "ubuntu-latest" | |
"steps": | |
- "env": | |
"NEEDS_JSON": "${{toJSON(needs)}}" | |
"name": "Transform outcomes" | |
"run": | | |
echo "ALL_SUCCESS=$(echo "$NEEDS_JSON" | jq '. | to_entries | map(.value.result == "success") | all')" >>$GITHUB_ENV | |
- "name": "check" | |
"run": "[ $ALL_SUCCESS == true ]" | |
"name": "CI" | |
"on": | |
"merge_group": {} | |
"pull_request": | |
"branches": "main" | |
"push": | |
"branches": | |
- "main" |