Skip to content

[DEV-11443] Use Batch Upload for workflow submission call #340

[DEV-11443] Use Batch Upload for workflow submission call

[DEV-11443] Use Batch Upload for workflow submission call #340

Workflow file for this run

name: PR build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
Configuration: Release
BuildType: V2
BuildNumber: ${{ github.run_number }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.412
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory:"./coverage/" --filter FullyQualifiedName\!~IntegrationTests -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Generate report
uses: danielpalme/[email protected]
with:
targetdir: ./coverage/
reporttypes: lcov
reports: ./coverage/*/coverage.*
assemblyFilters: -Indico
- name: Post code coverage report
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info