Skip to content

Charmcraft test

Charmcraft test #2413

Workflow file for this run

# Copyright 2022 Canonical Ltd.
# See LICENSE file for licensing details.
name: Tests
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:
outputs:
artifact-prefix:
description: build_charm.yaml `artifact-prefix` output
value: ${{ jobs.build.outputs.artifact-prefix }}
jobs:
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@arm-test
with:
charmcraft-snap-channel: latest/candidate # TODO: remove after charmcraft 3.3 stable release
integration-test:
name: Integration test charm
needs:
- build
uses: ./.github/workflows/integration_test.yaml
with:
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}