diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml deleted file mode 100644 index 36a9954..0000000 --- a/.github/workflows/integration_test.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: Integration tests - -on: - pull_request: - -jobs: - integration-tests: - uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main - secrets: inherit - with: - channel: 1.28-strict/stable - juju-channel: 3.4/stable - self-hosted-runner: true - self-hosted-runner-label: "edge" diff --git a/.github/workflows/publish_charm.yaml b/.github/workflows/publish_charm.yaml index e14e332..7fc9275 100644 --- a/.github/workflows/publish_charm.yaml +++ b/.github/workflows/publish_charm.yaml @@ -12,3 +12,5 @@ jobs: secrets: inherit with: channel: latest/edge + charmcraft-channel: latest/edge + integration-test-workflow-file: test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bd1426c..94d2557 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,3 +10,11 @@ jobs: with: self-hosted-runner: true self-hosted-runner-label: "edge" + integration-tests: + uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main + secrets: inherit + with: + channel: 1.28-strict/stable + juju-channel: 3.4/stable + self-hosted-runner: true + self-hosted-runner-label: "edge"