Skip to content

Pull request #262: RUM-20843 Release 3.3 #17

Pull request #262: RUM-20843 Release 3.3

Pull request #262: RUM-20843 Release 3.3 #17

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.x
7.x
6.x
5.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Test
run: dotnet test --no-build --verbosity normal
coverage:
needs: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.x
7.x
6.x
5.x
- name: Restore dependencies
run: dotnet restore
- name: Generate coverage report
run: |
cd ./tests/Dynatrace.OpenKit.Tests
dotnet test /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./tests/Dynatrace.OpenKit.Tests/TestResults/coverage.net7.0.info