mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
CI Adjustments: only run on push, only submit data from process-dotnet-test-results on linux
This commit is contained in:
parent
b55e06b74c
commit
36d6255a72
1 changed files with 12 additions and 3 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue