This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
ci: enable github workflow #6
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_call: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: [master, main] | ||
paths-ignore: | ||
- "**.md" | ||
- "**.rst" | ||
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 }} | ||
tox-version: "<4" | ||
func: | ||
uses: canonical/bootstack-actions/.github/workflows/func.yaml@v3 | ||
needs: lint-unit | ||
strategy: | ||
fail-fast: false | ||
with: | ||
command: "make functional" | ||
juju-channel: "3.1/stable" | ||
nested-containers: false | ||
provider: "lxd" | ||
python-version: "3.10" | ||
timeout-minutes: 120 | ||
tox-version: "<4" | ||
runs-on: "['self-hosted', 'runner-k8s-svc-check-a']" | ||
action-operator: false | ||
external-controller: true | ||
juju-controller: soleng-ci-ctrl | ||
zaza-yaml: "LS0tCm1vZGVsX3NldHRpbmdzOgogIGltYWdlLXN0cmVhbTogcmVsZWFzZWQKcmVnaW9uOiBwcm9kc3RhY2s2CmNsb3VkOiBidWlsZGVyLWNsb3VkCmNyZWRlbnRpYWw6IGJ1aWxkZXItY2xvdWQtY3JlZAo=" | ||
Check failure on line 40 in .github/workflows/check.yaml GitHub Actions / Check workflow running linter, unit and functional testsInvalid workflow file
|
||
secrets: | ||
juju-controllers-yaml: ${{ secrets.JUJU_CONTROLLERS_YAML }} | ||
juju-accounts-yaml: ${{ secrets.JUJU_ACCOUNTS_YAML }} | ||
openstack-auth-env: ${{ secrets.OPENSTACK_AUTH_ENV }} |