Skip to content

Partial Generated Classes for better stacktrace names #28

Partial Generated Classes for better stacktrace names

Partial Generated Classes for better stacktrace names #28

# 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"