Skip to content

Commit

Permalink
Feature/codecoverage (#38)
Browse files Browse the repository at this point in the history
* Update ci.yml

* Update ci.yml

* Update ci.yml

upgrade actions/setup-dotnet@v1 to v3

* Update and rename release.yml to cd-release.yml

update versions
  • Loading branch information
Maytham Fahmi authored Apr 23, 2023
1 parent d6776f8 commit a548c66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Verify commit exists in origin/main
Expand All @@ -17,7 +17,7 @@ jobs:
run: |
git log --pretty=format:'%d %s' ${GITHUB_REF} | perl -pe 's| \(.*tag: v(\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE-NOTES
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Set VERSION variable from tag
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3

0 comments on commit a548c66

Please sign in to comment.