Skip to content

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 #54

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.3.0 #54

Workflow file for this run

name: ci
on:
pull_request:
branches:
- develop
- main
push:
branches:
- develop
- main
permissions:
contents: read
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: Restore
run: dotnet restore ThisCloud.Framework.slnx
- name: Build
run: dotnet build ThisCloud.Framework.slnx -c Release --no-restore
- name: Test + Coverage Gate (>=90% line)
run: dotnet test ThisCloud.Framework.slnx -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Threshold=90 /p:ThresholdType=line
- name: Upload coverage artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage
path: |
**/coverage.cobertura.xml