Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,23 @@ jobs:
trustkit/build/outputs/managed_device_android_test_additional_output/**
if-no-files-found: ignore
retention-days: 7

ci-checks:
name: CI checks
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- build
- instrumentation-tests
steps:
- name: Verify required jobs succeeded
env:
BUILD_RESULT: ${{ needs.build.result }}
INSTRUMENTATION_TESTS_RESULT: ${{ needs.instrumentation-tests.result }}
run: |
if [[ "$BUILD_RESULT" != "success" || "$INSTRUMENTATION_TESTS_RESULT" != "success" ]]; then
echo "Build result: $BUILD_RESULT"
echo "Instrumentation tests result: $INSTRUMENTATION_TESTS_RESULT"
exit 1
fi
echo "All necessary CI jobs completed successfully"