Implement TRX files (#44)

This commit is contained in:
Patrick Stevens
2024-06-08 22:36:28 +01:00
committed by GitHub
parent 7c38982fe7
commit 21d340e450
6 changed files with 583 additions and 121 deletions

View File

@@ -41,13 +41,21 @@ jobs:
run: 'nix develop --command dotnet test --no-build --verbosity normal --configuration ${{matrix.config}}'
selftest:
strategy:
matrix:
config:
- Release
- Debug
runs-on: ubuntu-latest
permissions:
actions: none
checks: write
contents: read
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: read
steps:
- uses: actions/checkout@v4
@@ -61,9 +69,15 @@ jobs:
- name: Restore dependencies
run: nix develop --command dotnet restore
- name: Build
run: 'nix develop --command dotnet build --no-restore --configuration ${{matrix.config}}'
run: 'nix develop --command dotnet build --no-restore --configuration Release'
- name: Test using self
run: 'nix develop --command dotnet exec ./TestRunner/bin/${{matrix.config}}/net8.0/TestRunner.dll ./Consumer/bin/${{matrix.config}}/net8.0/Consumer.dll'
run: 'nix develop --command dotnet exec ./TestRunner/bin/Release/net8.0/TestRunner.dll ./Consumer/bin/Release/net8.0/Consumer.dll --trx TrxOut/out.trx'
- name: Parse Trx files
uses: NasAmin/trx-parser@v0.6.0
id: trx-parser
with:
TRX_PATH: ${{ github.workspace }}/TrxOut
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
analyzers:
runs-on: ubuntu-latest