Skip to content

Commit 88c78dd

Browse files
committed
run tests
1 parent 97615c4 commit 88c78dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
run: dotnet build --no-restore
3939
working-directory: ./MimeTypeCore
4040

41+
- name: Run tests
42+
run: dotnet test --no-build --verbosity normal
43+
working-directory: ./MimeTypeCore
44+
4145
- name: Update GitHub status check
4246
if: always()
4347
uses: actions/github-script@v6
@@ -49,7 +53,7 @@ jobs:
4953
repo: context.repo.repo,
5054
sha: context.payload.pull_request?.head.sha || context.sha,
5155
state: status === 'success' ? 'success' : 'failure',
52-
context: 'Build',
53-
description: `The build ${status === 'success' ? 'passed' : 'failed'}`,
56+
context: 'Build & Test',
57+
description: `The build and tests ${status === 'success' ? 'passed' : 'failed'}`,
5458
target_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
5559
});

0 commit comments

Comments
 (0)