Skip to content

Commit 52457bf

Browse files
1 parent 2855a27 commit 52457bf

File tree

5 files changed

+50
-12
lines changed

5 files changed

+50
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
build:
4646
name: Build charm
47-
uses: canonical/data-platform-workflows/.github/workflows/[email protected].0
47+
uses: canonical/data-platform-workflows/.github/workflows/[email protected].1
4848
with:
4949
cache: true
5050

@@ -55,16 +55,21 @@ jobs:
5555
juju:
5656
- agent: 2.9.45
5757
libjuju: ^2
58+
allure: false
5859
- agent: 3.1.6
60+
allure: true
5961
name: Integration test charm | ${{ matrix.juju.agent }}
6062
needs:
6163
- lint
6264
- unit-test
6365
- build
64-
uses: canonical/data-platform-workflows/.github/workflows/[email protected].0
66+
uses: canonical/data-platform-workflows/.github/workflows/[email protected].1
6567
with:
6668
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
6769
cloud: microk8s
6870
microk8s-snap-channel: 1.28-strict/stable
6971
juju-agent-version: ${{ matrix.juju.agent }}
7072
libjuju-version-constraint: ${{ matrix.juju.libjuju }}
73+
_beta_allure_report: ${{ matrix.juju.allure }}
74+
permissions:
75+
contents: write # Needed for Allure Report beta

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,20 @@ jobs:
3030
needs:
3131
- lib-check
3232
uses: ./.github/workflows/ci.yaml
33+
permissions:
34+
contents: write # Needed for Allure Report beta
3335

3436
build:
3537
name: Build charm
36-
uses: canonical/data-platform-workflows/.github/workflows/[email protected].0
38+
uses: canonical/data-platform-workflows/.github/workflows/[email protected].1
3739

3840
release:
3941
name: Release charm
4042
needs:
4143
- lib-check
4244
- ci-tests
4345
- build
44-
uses: canonical/data-platform-workflows/.github/workflows/[email protected].0
46+
uses: canonical/data-platform-workflows/.github/workflows/[email protected].1
4547
with:
4648
channel: 8.0/edge
4749
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}

.github/workflows/sync_issue_to_jira.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
sync:
1111
name: Sync GitHub issue to Jira
12-
uses: canonical/data-platform-workflows/.github/workflows/[email protected].0
12+
uses: canonical/data-platform-workflows/.github/workflows/[email protected].1
1313
with:
1414
jira-base-url: https://warthogs.atlassian.net
1515
jira-project-key: DPE

poetry.lock

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,14 @@ pytest-mock = "^3.11.1"
5555
[tool.poetry.group.integration.dependencies]
5656
pytest = "^7.4.0"
5757
pytest-operator = "^0.28.0"
58-
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
59-
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
58+
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.1", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
59+
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v11.0.1", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
6060
juju = "^3.2.2"
6161
mysql-connector-python = "~8.0.33"
6262
pyyaml = "^6.0.1"
6363
tenacity = "^8.2.2"
6464
ops = "^2.6.0"
65+
allure-pytest = "^2.13.2"
6566

6667

6768
[tool.coverage.run]

0 commit comments

Comments
 (0)