Skip to content

DO NOT MERGE test charmcraft candidate #1189

DO NOT MERGE test charmcraft candidate

DO NOT MERGE test charmcraft candidate #1189

Workflow file for this run

# Copyright 2022 Canonical Ltd.
# See LICENSE file for licensing details.
name: Tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC
# Triggered on push to branch "main" by .github/workflows/release.yaml
workflow_call:
jobs:
build:
name: Build charm | cache ${{ matrix.cache }} | ${{ matrix.charmcraft.name }}
strategy:
fail-fast: false
matrix:
cache: [true, false]
charmcraft:
- rev: 3979
name: 2.7.0
- name: 2.7.1
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
# Use of cache blocked by https://github.com/canonical/charmcraft/issues/1456
# Details: https://github.com/canonical/charmcraftcache/issues/3
cache: ${{ matrix.cache }}
# Remove prefix when cache enabled
# Needed to avoid conflict with artifact name on release CI
artifact-prefix: ci-packed-charm-${{ matrix.cache }}-${{ matrix.charmcraft.name }}
charmcraft-snap-revision: ${{ matrix.charmcraft.rev }}