Skip to content

[DPE-4977] Run integration tests against Juju 3.6 #5

[DPE-4977] Run integration tests against Juju 3.6

[DPE-4977] Run integration tests against Juju 3.6 #5

Workflow file for this run

# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
name: Juju 3.6 CI tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v18.0.0
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0
with:
cache: true
integration-test-3-6:
strategy:
fail-fast: false
matrix:
architecture:
- amd64
- arm64
name: Integration | 3.6 | ${{ matrix.architecture }}
needs:
- lint
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v18.0.0
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
architecture: ${{ matrix.architecture }}
cloud: microk8s
juju-snap-channel: 3.6/beta
libjuju-version-constraint: 3.5.2.0
microk8s-snap-channel: 1.31-strict/stable
secrets:
# GitHub appears to redact each line of a multi-line secret
# Avoid putting `{` or `}` on a line by itself so that it doesn't get redacted in logs
integration-test: |
{ "AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}",
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}",
}