Partial Generated Classes for better stacktrace names #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Speed Comparison | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
inputs: | |
publish-packages: | |
description: Publish packages? | |
type: boolean | |
required: true | |
jobs: | |
modularpipeline: | |
environment: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pull Requests' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build TUnit | |
run: dotnet build -c Release | |
working-directory: "tools/speed-comparison/TUnitTimer" | |
- name: Build xUnit | |
run: dotnet build -c Release | |
working-directory: "tools/speed-comparison/xUnitTimer" | |
- name: Build NUnit | |
run: dotnet build -c Release | |
working-directory: "tools/speed-comparison/NUnitTimer" | |
- name: Build MSTest | |
run: dotnet build -c Release | |
working-directory: "tools/speed-comparison/MSTestTimer" | |
- name: Run Pipeline | |
run: dotnet run -c Release | |
working-directory: "tools/speed-comparison/TUnit.SpeedComparison.Pipeline/TUnit.SpeedComparison.Pipeline" |