Skip to content

Update release.yml

Update release.yml #32

Workflow file for this run

name: unit and integration testing for dotnet package
on:
push:
branches:
- '**'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0
- name: Display dotnet version
run: dotnet --version
- name: Install dependencies
working-directory: ./src
run: dotnet restore logzio-dotnet.sln
- name: Build package
working-directory: ./src
run: dotnet build logzio-dotnet.sln /p:Configuration=Release
- name: Run tests
working-directory: ./src
run: |
dotnet test ./UnitTests/UnitTests.csproj
dotnet test ./IntegrationTests/IntegrationTests.csproj