Skip to content

Updated readme docs to represent v2 capabilities in place. (#42) #101

Updated readme docs to represent v2 capabilities in place. (#42)

Updated readme docs to represent v2 capabilities in place. (#42) #101

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET (8 LTS and 10 preview)
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
10.0.x
dotnet-quality: 'preview'
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore
run: dotnet restore src/Coven.sln
- name: Build
run: dotnet build src/Coven.sln --configuration Release --no-restore
- name: Test
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
run: dotnet test src/Coven.sln --configuration Release --no-build --logger "trx;LogFileName=test_results.trx" --collect:"XPlat Code Coverage"
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
**/TestResults/*.trx
**/TestResults/**/coverage.cobertura.xml