Skip to content

MT-00 Unit Testing and CI configured (#17) #8

MT-00 Unit Testing and CI configured (#17)

MT-00 Unit Testing and CI configured (#17) #8

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ main ]
env:
DOTNET_VERSION: '8.0.x'
jobs:
ci:
name: ci-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore ./src
- name: Build
run: dotnet build ./src --configuration Release --no-restore
- name: Test
run: dotnet test ./src --no-restore --verbosity normal