Skip to content

Test of CI for #27

Test of CI for #27 #35

Workflow file for this run

name: Check workflow running linter, unit and functional tests
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
branches: [master, main]
paths-ignore:
- "**.md"
- "**.rst"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
lint-unit:
uses: canonical/bootstack-actions/.github/workflows/lint-unit.yaml@v2
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.10"]
with:
python-version: ${{ matrix.python-version }}
working-directory: ./src
build:
needs: lint-unit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: canonical/[email protected] # LXD is needed since we are not running with --destructive-mode
- name: Install charmcraft
run: sudo snap install charmcraft --edge --classic
- name: Build charm
run: charmcraft pack -v