Skip to content

Commit 7ae2ffd

Browse files
authored
Adding triggers to pipelines (#17960)
* Adding triggers * Fixing name of reports
1 parent 4480c50 commit 7ae2ffd

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/daily-build-and-test.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
name: Daily CI/CD
1+
name: CI
22
on:
33
schedule:
44
- cron: '0 0 * * *'
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
511
workflow_dispatch:
612

713
permissions:
@@ -66,7 +72,7 @@ jobs:
6672
uses: dorny/test-reporter@v1
6773
if: success() || failure()
6874
with:
69-
name: 'Unit Test'
75+
name: 'Unit Test Report'
7076
path: ./test-reports/**/*.xml
7177
reporter: jest-junit
7278
badge-title: 'unit-tests'
@@ -93,7 +99,7 @@ jobs:
9399
if: always()
94100
with:
95101
token: ${{ secrets.GITHUB_TOKEN }}
96-
name: Coverage
102+
name: Unit Test Coverage Report
97103
conclusion: ${{ steps.testcoverage.conclusion }}
98104
output: |
99105
{"summary":"${{ steps.testcoverage.summary }}"}
@@ -133,10 +139,7 @@ jobs:
133139
uses: dorny/test-reporter@v1
134140
if: success() || failure()
135141
with:
136-
name: 'Smoke Test'
142+
name: 'Smoke Test Report'
137143
path: ./test-reports/**/smoke-results.xml
138144
reporter: jest-junit
139-
badge-title: 'smoke-tests'
140-
141-
142-
145+
badge-title: 'smoke-tests'

0 commit comments

Comments
 (0)