Skip to content

Commit ed89e74

Browse files
made changes for 3.1.0 release
2 parents ab2bf68 + b47e10c commit ed89e74

File tree

5 files changed

+536
-120
lines changed

5 files changed

+536
-120
lines changed

.github/workflows/workflowToken.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: mvn test -Dmaven.test.failure.ignore=true surefire-report:report
2525

2626
- name: ServiceNow Test Action Report
27-
uses: ServiceNow/servicenow-devops-test-report@v2.0.0
27+
uses: ServiceNow/servicenow-devops-test-report@v3.1.0
2828
with:
2929
devops-integration-token: ${{ secrets.SN_DEVOPS_INTEGRATION_TOKEN }}
3030
instance-url: ${{ secrets.SN_INSTANCE_URL }}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
### Added
88
- CHANGELOG can be parsed by the github action.
9-
- Extended support for "testsuites" for JUnit test-type.
9+
- Extended support for "testsuites" for JUnit test-type.
10+
- Extended support for NUnit, XUnit and MSTest (UnitTest) test types.

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ build:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: ServiceNow DevOps Unit Test Results
35-
uses: ServiceNow/servicenow-devops-test-report@v3.0.0
35+
uses: ServiceNow/servicenow-devops-test-report@v3.1.0
3636
with:
3737
devops-integration-token: ${{ secrets.SN_DEVOPS_INTEGRATION_TOKEN }}
3838
instance-url: ${{ secrets.SN_INSTANCE_URL }}
@@ -48,7 +48,7 @@ build:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: ServiceNow DevOps Unit Test Results
51-
uses: ServiceNow/servicenow-devops-test-report@v3.0.0
51+
uses: ServiceNow/servicenow-devops-test-report@v3.1.0
5252
with:
5353
devops-integration-user-name: ${{ secrets.SN_DEVOPS_USER }}
5454
devops-integration-user-password: ${{ secrets.SN_DEVOPS_PASSWORD }}
@@ -95,6 +95,9 @@ The Step Name should be **ServiceNow DevOps Unit Test Results**.
9595

9696
**Required** The consolidated xml summary report file generated by TestNG framework or directory that contains XML files generated by JUnit framework. The path to directory or xml summary report file should be relative to workspace. The possible values are _target/surefire-reports/testng-results.xml_ for TestNG, _target/surefire-reports/_ for JUnit, _target/surefire-reports/junitreports/_ for JUnit when both TestNG and JUnit used in the project specific pom.xml.
9797
Note: The value should only contain one (.xml) file if it is a directory path.
98+
99+
For NUnit, XUnit and MSTest test types - path to test(.xml) file should be passed.
100+
98101
## Outputs
99102
No outputs produced.
100103

0 commit comments

Comments
 (0)