Adding triggers to pipelines (#17960)
* Adding triggers * Fixing name of reports
This commit is contained in:
Родитель
4480c50b0a
Коммит
7ae2ffdb3a
|
@ -1,7 +1,13 @@
|
|||
name: Daily CI/CD
|
||||
name: CI
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
@ -66,7 +72,7 @@ jobs:
|
|||
uses: dorny/test-reporter@v1
|
||||
if: success() || failure()
|
||||
with:
|
||||
name: 'Unit Test'
|
||||
name: 'Unit Test Report'
|
||||
path: ./test-reports/**/*.xml
|
||||
reporter: jest-junit
|
||||
badge-title: 'unit-tests'
|
||||
|
@ -93,7 +99,7 @@ jobs:
|
|||
if: always()
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
name: Coverage
|
||||
name: Unit Test Coverage Report
|
||||
conclusion: ${{ steps.testcoverage.conclusion }}
|
||||
output: |
|
||||
{"summary":"${{ steps.testcoverage.summary }}"}
|
||||
|
@ -133,10 +139,7 @@ jobs:
|
|||
uses: dorny/test-reporter@v1
|
||||
if: success() || failure()
|
||||
with:
|
||||
name: 'Smoke Test'
|
||||
name: 'Smoke Test Report'
|
||||
path: ./test-reports/**/smoke-results.xml
|
||||
reporter: jest-junit
|
||||
badge-title: 'smoke-tests'
|
||||
|
||||
|
||||
|
||||
badge-title: 'smoke-tests'
|
Загрузка…
Ссылка в новой задаче