Skip to content

Commit a89a16c

Browse files
authored
Run Allure workflow only on schedule (#38)
* Run Allure workflow only on schedule * Run Allure workflow only on schedule
1 parent c9f1b96 commit a89a16c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/integration_test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ name: Integration tests
22

33
on:
44
pull_request:
5+
schedule:
6+
- cron: "0 15 * * SAT"
57

68
jobs:
79
integration-tests:
8-
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
10+
uses:
11+
canonical/operator-workflows/.github/workflows/integration_test.yaml@main
912
secrets: inherit
1013
with:
1114
juju-channel: 3.6/stable
@@ -17,6 +20,6 @@ jobs:
1720
self-hosted-runner-label: "edge"
1821
modules: '["test_charm", "test_proxy"]'
1922
allure-report:
20-
if: always() && !cancelled()
23+
if: ${{ !cancelled() && github.event_name == 'schedule' }}
2124
needs: integration-tests
2225
uses: canonical/operator-workflows/.github/workflows/allure_report.yaml@main

0 commit comments

Comments
 (0)