Skip to content

feat: add benchmark

feat: add benchmark #8

Workflow file for this run

# 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: .NET
on:
push:
branches: [ "feature/build-deploy" ]
pull_request:
branches: [ "main" ]
jobs:
build:
defaults:
run:
working-directory: ./src
env:
SOLUTION: ./RinhaBackEnd.sln
TEST_PROJECT: ./RinhaBackEnd.Test/RinhaBackEnd.Test.csproj
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore ${{env.SOLUTION}}
- name: Build
run: dotnet build ${{env.SOLUTION}} --no-restore
- name: Test
run: dotnet test ${{env.SOLUTION}} --filter 'Integration!=ignore&Integration!=Benchmark' --no-build --verbosity normal