Skip to content
Merged
Show file tree
Hide file tree
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
33 changes: 0 additions & 33 deletions .github/workflows/code-climate-before-build.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/code-climate-report-coverage.yaml

This file was deleted.

47 changes: 8 additions & 39 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,95 +44,64 @@ jobs:
needs.Cancel-If-Draft-Pull-Request.result == 'skipped'
uses: ./.github/workflows/build-broker-docker-image-for-test.yaml

# Prepare Code Climate to receive coverage report
Code-Climate-Before-Build:
name: Code Climate Before Build
needs: Run-Code-Style-Checks
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/code-climate-before-build.yaml
with:
source-branch: ${{ github.head_ref }}
source-commit-sha: ${{ github.event.pull_request.head.sha }}
secrets:
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}

# The test suite is broken into multiple groups based on a combination of what is under test
# and the time that it takes to run tests for that group.
Run-Spark-Integration-Load-Transaction-FABS-and-FPDS-Tests:
name: Run Spark Integration Load Transactions FABS and FPDS Tests
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-spark-integration-load-transactions-fabs-fpds.yaml

Run-Spark-Integration-Load-Transactions-Lookup-Tests:
name: Run Spark Integration Load Transactions Lookup Tests
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-spark-integration-load-transactions-lookup.yaml

Run-Spark-Integration-Load-To-From-Delta-Tests:
name: Run Spark Integration Load To From Delta Tests
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-spark-integration-load-to-from-delta.yaml

Run-Spark-Integration-Other-Tests:
name: Run Spark Integration Other Tests
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-spark-integration-other.yaml

Run-Non-Spark-Integration-Tests:
name: Run Non-Spark Integration Tests
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-non-spark-integration.yaml

Run-Non-Spark-Integration-Tests-With-Signal-Handling:
name: Run Non-Spark Integration Tests With Signal Handling
needs:
- Code-Climate-Before-Build
- Run-Code-Style-Checks
- Build-Broker-Docker-Image
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-non-spark-integration-signal-handling.yaml

Run-Unit-Tests:
name: Run Unit Tests
needs: Code-Climate-Before-Build
needs: Run-Code-Style-Checks
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-unit.yaml

Run-Unit-Tests-With-Signal-Handling:
name: Run Unit Tests With Signal Handling
needs: Code-Climate-Before-Build
needs: Run-Code-Style-Checks
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/test-unit-signal-handling.yaml

Code-Climate-Report-Coverage:
name: Code Climate Report Coverage
needs:
- Run-Spark-Integration-Load-Transaction-FABS-and-FPDS-Tests
- Run-Spark-Integration-Load-Transactions-Lookup-Tests
- Run-Spark-Integration-Load-To-From-Delta-Tests
- Run-Spark-Integration-Other-Tests
- Run-Non-Spark-Integration-Tests
- Run-Non-Spark-Integration-Tests-With-Signal-Handling
- Run-Unit-Tests
- Run-Unit-Tests-With-Signal-Handling
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/code-climate-report-coverage.yaml
with:
source-branch: ${{ github.head_ref }}
source-commit-sha: ${{ github.event.pull_request.head.sha }}
secrets:
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
Loading