Skip to content

Commit 4fc8f84

Browse files
Apply Paulo suggestions
1 parent a7789c0 commit 4fc8f84

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright 2022 Canonical Ltd.
22
# See LICENSE file for licensing details.
3-
name: Tests
3+
name: Pull request
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.ref }}
@@ -12,8 +12,6 @@ on:
1212
- '**.md'
1313
- '.github/renovate.json5'
1414
- 'docs/**'
15-
schedule:
16-
- cron: '53 0 * * *' # Daily at 00:53 UTC
1715

1816
jobs:
1917
lint:
@@ -70,7 +68,7 @@ jobs:
7068
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
7169

7270
integration-test:
73-
name: Integration test charm
71+
name: Integration tests
7472
needs:
7573
- lint
7674
- unit-test

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- '.github/workflows/ci.yaml'
1414
- '.github/workflows/check_libs.yaml'
1515
- '.github/workflows/check_pr.yaml'
16+
- '.github/workflows/schedule.yaml'
1617
- '.github/workflows/tiobe_scan.yaml'
1718

1819
jobs:

.github/workflows/schedule.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Scheduled run
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
on:
10+
schedule:
11+
- cron: '53 0 * * *' # Daily at 00:53 UTC
12+
13+
jobs:
14+
build:
15+
name: Build charm
16+
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
17+
18+
integration-test:
19+
name: Integration tests
20+
needs:
21+
- build
22+
uses: ./.github/workflows/integration_test.yaml
23+
with:
24+
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
25+
secrets: inherit
26+
permissions:
27+
contents: write # Needed for Allure Report
28+
29+
release-test:
30+
name: Release tests
31+
needs:
32+
- build
33+
uses: ./.github/workflows/release_test.yaml
34+
with:
35+
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
36+
secrets: inherit
37+
permissions:
38+
contents: write # Needed for Allure Report

0 commit comments

Comments
 (0)