Skip to content

CI Linux

CI Linux #104

Workflow file for this run

name: CI Linux
on:
create:
branches:
- release/**
push:
branches:
- master
- dev/**
paths:
- MemoryModule/**
- MemoryModule.Tests/**
- .github/workflows/**
pull_request:
branches:
- master
paths:
- MemoryModule/**
- MemoryModule.Tests/**
- .github/workflows/**
jobs:
build:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'MemoryModule.sln'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Run tests
run: dotnet test ${{ env.SOLUTION }} /p:Configuration=${{ env.BUILD_CONFIG }} /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura -l "console;verbosity=detailed"