From 36d6255a7241ccec955719d966bf7e05fade8ddf Mon Sep 17 00:00:00 2001 From: jvyden Date: Mon, 18 Oct 2021 18:11:36 -0400 Subject: [PATCH] CI Adjustments: only run on push, only submit data from process-dotnet-test-results on linux --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9533663..0dcdc7f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -on: [push, pull_request] +on: [push] name: Continuous Integration # Inspired by osu! lazer's CI @@ -72,12 +72,21 @@ jobs: name: lighthouse-test-results-${{matrix.os.prettyName}} path: ${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx - - name: Process Test Results - if: ${{ always() }} + - name: Process Test Results (Control) + if: ${{ matrix.os.prettyName == 'Linux' }} uses: im-open/process-dotnet-test-results@v2.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Process Test Results + if: ${{ matrix.os.prettyName != 'Linux' }} + uses: im-open/process-dotnet-test-results@v2.0.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + create-status-check: false + create-pr-comment: false + update-comment-if-one-exists: false + - name: Check Test Results if: steps.process-trx.outputs.test-outcome == 'Failed' run: |