Skip to content

Commit

Permalink
Add scripts, publish test results action
Browse files Browse the repository at this point in the history
  • Loading branch information
Release-Candidate committed Apr 27, 2021
1 parent 9e51705 commit ca97000
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ jobs:
with:
name: Test Results
path: ./test_results/*.xml

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: ./test_results/jresult.xml
6 changes: 6 additions & 0 deletions .github/workflows/osx_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ jobs:
with:
name: Test Results
path: ./test_results/*.xml

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: ./test_results/jresult.xml
6 changes: 6 additions & 0 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,9 @@ jobs:
with:
name: Test Results
path: ./test_results/*.xml

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: ./test_results/jresult.xml
10 changes: 10 additions & 0 deletions run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
# Copyright (C) 2021 Roland Csaszar
#
# Project: Tzolkin
# File: run_coverage.sh
# Date: 27.Apr.2021
###############################################################################

dotnet test -v n /p:AltCover=true /p:AltCoverReportFormat=OpenCover /p:AltCoverReport=./coverage.xml
11 changes: 11 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
# Copyright (C) 2021 Roland Csaszar
#
# Project: Tzolkin
# File: run_tests.sh
# Date: 27.Apr.2021
###############################################################################

dotnet fake run ./build.fsx target publish
dotnet ./bin/TestTzolkin.dll --summary --nunit-summary ./test_results/nresult.xml --junit-summary ./test_results/jresult.xml

0 comments on commit ca97000

Please sign in to comment.