mirror of
https://github.com/irongut/CodeCoverageSummary.git
synced 2026-05-14 14:10:14 +02:00
30 lines
706 B
YAML
30 lines
706 B
YAML
name: CI Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: CI Build
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup .Net
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
|
|
- name: Restore Dependencies
|
|
run: dotnet restore src/CodeCoverageSummary.sln
|
|
|
|
- name: Build CodeCoverageSummary
|
|
run: dotnet build src/CodeCoverageSummary.sln --configuration Release --no-restore
|
|
|
|
- name: Test with sample file
|
|
run: dotnet src/CodeCoverageSummary/bin/Release/net6.0/CodeCoverageSummary.dll --files src/coverage.cobertura.xml --badge true
|