Build the snap using tox, allows for python linting #1
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
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Linters and Unit tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: [ main ] | |
jobs: | |
call-inclusive-naming-check: | |
name: Inclusive naming | |
uses: canonical-web-and-design/Inclusive-naming/.github/workflows/woke.yaml@main | |
with: | |
fail-on-error: "true" | |
lint-unit: | |
name: Lint Unit | |
uses: charmed-kubernetes/workflows/.github/workflows/lint-unit.yaml@main | |
with: | |
python: "['3.8', '3.9', '3.10', '3.11']" | |
needs: | |
- call-inclusive-naming-check |