diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7fe92c354..890ff3119 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ on: jobs: lint: name: Lint - uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v16.2.1 unit-test: name: Unit tests @@ -85,7 +85,7 @@ jobs: - tests/integration/relation_tests/new_relations/application-charm - tests/integration/dummy_legacy_app name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16.2.1 with: path-to-charm-directory: ${{ matrix.path }} cache: true @@ -96,7 +96,7 @@ jobs: - lint - unit-test - build - uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v16.2.1 with: artifact-prefix: packed-charm-cache-true cloud: lxd diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f0edb467..8ba1ae857 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,14 +12,14 @@ jobs: build: name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16.2.1 release-charm: name: Release charm needs: - ci-tests - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v16.2.1 with: channel: 6/edge artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} diff --git a/.github/workflows/sync_issue_to_jira.yaml b/.github/workflows/sync_issue_to_jira.yaml index f5a0cb5a7..07b3b7dc3 100644 --- a/.github/workflows/sync_issue_to_jira.yaml +++ b/.github/workflows/sync_issue_to_jira.yaml @@ -9,7 +9,7 @@ on: jobs: sync: name: Sync GitHub issue to Jira - uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v13.1.1 + uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v16.2.1 with: jira-base-url: https://warthogs.atlassian.net jira-project-key: DPE diff --git a/tox.ini b/tox.ini index 29b406a09..dbf3e5eff 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,7 @@ pass_env = # build wrapper. pass_env = CI + GH_TOKEN allowlist_externals = {[testenv]allowlist_externals} charmcraft @@ -109,9 +110,9 @@ deps = juju==3.4.0.0 pytest-mock pytest-operator ==0.34.0 - git+https://github.com/canonical/data-platform-workflows@v13.1.1\#subdirectory=python/pytest_plugins/github_secrets - git+https://github.com/canonical/data-platform-workflows@v13.1.1\#subdirectory=python/pytest_plugins/pytest_operator_groups - git+https://github.com/canonical/data-platform-workflows@v13.1.1\#subdirectory=python/pytest_plugins/pytest_operator_cache + git+https://github.com/canonical/data-platform-workflows@v16.2.1\#subdirectory=python/pytest_plugins/github_secrets + git+https://github.com/canonical/data-platform-workflows@v16.2.1\#subdirectory=python/pytest_plugins/pytest_operator_groups + git+https://github.com/canonical/data-platform-workflows@v16.2.1\#subdirectory=python/pytest_plugins/pytest_operator_cache -r {tox_root}/requirements.txt commands = pytest -v --tb native --log-cli-level=INFO -s --ignore={[vars]tests_path}/unit/ {posargs}