Skip to content

Commit

Permalink
generate repo badge
Browse files Browse the repository at this point in the history
  • Loading branch information
connorivy committed Dec 3, 2024
1 parent 0a56043 commit bd80d64
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publishWiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,34 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Andrew-Chen-Wang/github-wiki-action@v4

build_and_pack:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup .NET 9
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'

- name: Test And Collect CodeCov
run: |
dotnet tool install --global dotnet-coverage
dotnet-coverage collect "dotnet run --project ./tests/MockMe.Tests.Runner/" -f cobertura -s ./CodeCoverage.runsettings
- name: Generate report
uses: danielpalme/[email protected]
with:
reports: './output.cobertura.xml'
targetdir: './tests/TestResults'
reporttypes: 'lcov'
# reporttypes: 'html'

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
path-to-lcov: ./tests/TestResults/lcov.info

0 comments on commit bd80d64

Please sign in to comment.