Skip to content

build(deps): bump xunit.assert and xunit #1561

build(deps): bump xunit.assert and xunit

build(deps): bump xunit.assert and xunit #1561

Workflow file for this run

name: Build and test
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ windows-latest, ubuntu-latest, macos-14 ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.0 and 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: Install dependencies
run: dotnet restore Messaging.sln
- name: Build
run: dotnet build Messaging.sln --configuration Release --no-restore
- name: Unit tests
run: |
dotnet test "./test/Helsenorge.Messaging.Tests/Helsenorge.Messaging.Tests.csproj"
dotnet test "./test/Helsenorge.Registries.Tests/Helsenorge.Registries.Tests.csproj"
dotnet test "./test/Helsenorge.Messaging.AdminLib.Tests/Helsenorge.Messaging.AdminLib.Tests.csproj"