Skip to content

Commit

Permalink
Add/Update stuff (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Jul 8, 2020
1 parent a75d60c commit 4a7b692
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/matchers/dotnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"problemMatcher": [
{
"owner": "dotnet-file",
"pattern": [
{
"regexp": "^(.+)\\((\\d+).+\\):\\s(\\w+)\\s(.+)\\:\\s(.*)$",
"file": 1,
"line": 2,
"severity": 3,
"code": 4,
"message": 5
}
]
},
{
"owner": "dotnet-run",
"pattern": [
{
"regexp": "^.+\\s\\:\\s(\\w+)\\s(.*)\\:\\s(.*)$",
"severity": 1,
"code": 2,
"message": 3
}
]
}
]
}
6 changes: 6 additions & 0 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.200' # SDK Version

- name: Enable problem matchers
run: echo "::add-matcher::.github/matchers/dotnet.json"

- name: Build code
run: dotnet build

- name: Test code
run: dotnet test -v minimal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=${{github.workspace}}/codecover/lcov.info

Expand Down

0 comments on commit 4a7b692

Please sign in to comment.