Attempting to Fix Ignore for dependabot #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |