diff --git a/.github/workflows/build-indicators.yml b/.github/workflows/build-indicators.yml index c300c8cc0..a763d4cde 100644 --- a/.github/workflows/build-indicators.yml +++ b/.github/workflows/build-indicators.yml @@ -39,6 +39,7 @@ jobs: -warnAsError - name: Test indicators + id: test-library env: ALPACA_KEY: ${{ secrets.ALPACA_KEY }} ALPACA_SECRET: ${{ secrets.ALPACA_SECRET }} @@ -52,6 +53,7 @@ jobs: --results-directory ./test-indicators - name: Test other items + id: test-other run: > dotnet test tests/other/Tests.Other.csproj --configuration Release @@ -62,7 +64,7 @@ jobs: - name: Update tests summary uses: bibipkins/dotnet-test-reporter@v1.3.3 - if: github.event_name == 'pull_request' + if: ${{ github.event_name == 'pull_request' && (success() || (failure() && (steps.test-library.conclusion == 'failure' || steps.test-other.conclusion == 'failure'))) }} with: github-token: ${{ secrets.GITHUB_TOKEN }} comment-title: ""