Skip to content

Commit 91f4423

Browse files
committed
chore: re-enabled coverage
1 parent dcb308d commit 91f4423

1 file changed

Lines changed: 33 additions & 33 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -34,39 +34,39 @@ jobs:
3434
with:
3535
name: Code coverage ${{ matrix.os }}
3636
path: "**/coverage.cobertura.xml"
37-
# coverage:
38-
# name: Coverage
39-
# needs: [test]
40-
# runs-on: ubuntu-latest
41-
# steps:
42-
# - name: Checkout sources
43-
# uses: actions/checkout@v2
44-
# - name: Setup .NET
45-
# uses: actions/setup-dotnet@v1
46-
# - uses: actions/download-artifact@v2
47-
# with:
48-
# name: Code coverage ubuntu-latest
49-
# path: coverage-ubuntu
50-
# - uses: actions/download-artifact@v2
51-
# with:
52-
# name: Code coverage windows-latest
53-
# path: coverage-windows
54-
# - uses: actions/download-artifact@v2
55-
# with:
56-
# name: Code coverage macos-latest
57-
# path: coverage-macos
58-
# - name: Generate coverage report
59-
# uses: danielpalme/ReportGenerator-GitHub-Action@4.8.12
60-
# with:
61-
# reports: "**/coverage.cobertura.xml"
62-
# targetdir: "coverage-report"
63-
# reporttypes: "Cobertura"
64-
# - name: Publish coverage report to Codacy
65-
# uses: codacy/codacy-coverage-reporter-action@master
66-
# if: github.repository == 'System-IO-Abstractions/System.IO.Abstractions.Extensions' && github.event_name == 'push'
67-
# with:
68-
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
69-
# coverage-reports: coverage-report/Cobertura.xml
37+
coverage:
38+
name: Coverage
39+
needs: [test]
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout sources
43+
uses: actions/checkout@v2
44+
- name: Setup .NET
45+
uses: actions/setup-dotnet@v1
46+
- uses: actions/download-artifact@v2
47+
with:
48+
name: Code coverage ubuntu-latest
49+
path: coverage-ubuntu
50+
- uses: actions/download-artifact@v2
51+
with:
52+
name: Code coverage windows-latest
53+
path: coverage-windows
54+
- uses: actions/download-artifact@v2
55+
with:
56+
name: Code coverage macos-latest
57+
path: coverage-macos
58+
- name: Generate coverage report
59+
uses: danielpalme/ReportGenerator-GitHub-Action@4.8.12
60+
with:
61+
reports: "**/coverage.cobertura.xml"
62+
targetdir: "coverage-report"
63+
reporttypes: "Cobertura"
64+
- name: Publish coverage report to Codacy
65+
uses: codacy/codacy-coverage-reporter-action@master
66+
if: github.repository == 'System-IO-Abstractions/System.IO.Abstractions.Extensions' && github.event_name == 'push'
67+
with:
68+
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
69+
coverage-reports: coverage-report/Cobertura.xml
7070
pack:
7171
name: Pack
7272
needs: [test]

0 commit comments

Comments
 (0)