* Adding triggers

* Fixing name of reports
This commit is contained in:
Aasim Khan 2024-08-02 10:57:01 -07:00 коммит произвёл GitHub
Родитель 4480c50b0a
Коммит 7ae2ffdb3a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 11 добавлений и 8 удалений

19
.github/workflows/daily-build-and-test.yml поставляемый
Просмотреть файл

@ -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'