Skip to content

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008 #25

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008

Update dependency Cognite.Simulator.Utils to 1.0.0-beta-008 #25

Workflow file for this run

name: .NET build and test
on:
pull_request:
branches: [ main ]
jobs:
common:
uses: ./.github/workflows/common.yml
secrets: inherit
build-installer:
runs-on: ubuntu-latest
needs:
- common
steps:
- run: echo "Yep, the installer is built"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal /p:Exclude="[*.Test]*" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=TestResults/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}