Unit tests for universal priority curves #2545 #5531
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
name: Backend Build and Test | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'Src/Witsml/**' | |
- 'Src/WitsmlExplorer.Api/**' | |
- 'Src/WitsmlExplorer.Console/**' | |
- 'Tests/**' | |
permissions: {} | |
jobs: | |
backend: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build | |
run: dotnet build /warnaserror --configuration Release | |
- name: Install dotnet format | |
run: dotnet tool update --global dotnet-format | |
- name: Run dotnet format | |
run: dotnet format --verify-no-changes --no-restore | |
- name: Test | |
run: dotnet test --configuration Release --logger "console;verbosity=detailed" |