Add new release and promote workflow #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
func: | |
uses: canonical/bootstack-actions/.github/workflows/func.yaml@v2 | |
needs: lint-unit | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- juju-channel: "3.4/stable" | |
command: "TEST_JUJU3=1 make functional" # using TEST_JUJU3 due https://github.com/openstack-charmers/zaza/commit/af7eea953dd5d74d3d074fe67b5765dca3911ca6 | |
with: | |
command: ${{ matrix.command }} | |
juju-channel: ${{ matrix.juju-channel }} | |
nested-containers: false | |
provider: "lxd" | |
python-version: "3.10" | |
timeout-minutes: 120 |