test:daily #640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test:daily | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
repository_dispatch: | |
types: ["test:daily"] | |
workflow_dispatch: | |
jobs: | |
lint: | |
uses: ./.github/workflows/_lint.yml | |
unit: | |
uses: ./.github/workflows/_test_unit.yml | |
with: | |
excludePackages: cmd/werf/docs | |
coverage: true | |
e2e_simple_per-k8s-version: | |
uses: ./.github/workflows/_test_e2e_per-k8s-version.yml | |
with: | |
scope: simple | |
secrets: inherit | |
# e2e_complex_per-k8s-version: | |
# uses: ./.github/workflows/_test_e2e_per-k8s-version.yml | |
# with: | |
# scope: complex | |
# timeout: 120 | |
# secrets: inherit | |
# e2e_extra_per-k8s-version: | |
# uses: ./.github/workflows/_test_e2e_per-k8s-version.yml | |
# with: | |
# scope: extra | |
# secrets: inherit | |
integration_main: | |
uses: ./.github/workflows/_test_integration_regular.yml | |
with: | |
packages: integration/suites | |
excludePackages: integration/suites/deploy,integration/suites/cleanup_after_converge,integration/suites/helm/deploy_rollback,integration/suites/bundles,integration/suites/ansible,integration/suites/build/stapel_image/git,integration/suites/docs | |
fetchDepth: 0 # Git history as fixtures for tests. | |
coverage: true | |
secrets: inherit | |
integration_git: | |
uses: ./.github/workflows/_test_integration_regular.yml | |
with: | |
packages: integration/suites/build/stapel_image/git | |
coverage: true | |
secrets: inherit | |
integration_ansible: | |
uses: ./.github/workflows/_test_integration_regular.yml | |
with: | |
packages: integration/suites/ansible | |
coverage: true | |
secrets: inherit | |
integration_per-k8s: | |
uses: ./.github/workflows/_test_integration_per-k8s-version.yml | |
with: | |
coverage: true | |
secrets: inherit | |
integration_per-cr: | |
uses: ./.github/workflows/_test_integration_per-container-registry.yml | |
with: | |
coverage: true | |
secrets: inherit | |
integration_per-k8s-and-cr: | |
uses: ./.github/workflows/_test_integration_per-k8s-version-and-container-registry.yml | |
with: | |
coverage: true | |
secrets: inherit | |
coverage_report: | |
uses: ./.github/workflows/_coverage_report.yml | |
needs: | |
- unit | |
- integration_main | |
- integration_git | |
- integration_ansible | |
- integration_per-k8s | |
- integration_per-cr | |
- integration_per-k8s-and-cr | |
- e2e_simple_per-k8s-version | |
# - e2e_complex_per-k8s-version | |
# - e2e_extra_per-k8s-version | |
secrets: inherit | |
notify: | |
if: always() | |
needs: | |
- lint | |
- coverage_report | |
uses: ./.github/workflows/_notification.yml | |
secrets: | |
mentionGroupID: ${{ secrets.SLACK_MENTION_GROUP_ID }} | |
webhook: ${{ secrets.SLACK_WEBHOOK }} |