Skip to content

Attempting to Fix Ignore for dependabot #28

Attempting to Fix Ignore for dependabot

Attempting to Fix Ignore for dependabot #28

name: Build and Test
on:
pull_request:
types: [opened, reopened, edited, synchronize, ready_for_review]
jobs:
build:
runs-on: ubuntu-latest
container: felsokning/multinet:latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: .NET Restore
run: dotnet restore --verbosity=normal
- name: .NET Build
run: dotnet build --no-restore --verbosity=normal
- name: .NET Test
run: dotnet test --no-restore --no-build --verbosity=normal --collect:"XPlat Code Coverage" --logger:trx --results-directory coverage
- name: Copy Coverage To Predictable Location
run: cp coverage/*/coverage.cobertura.xml coverage/coverage.cobertura.xml
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage/coverage.cobertura.xml
badge: true
format: 'markdown'
output: 'both'
- name: Adding markdown to build summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY