Sampling #74
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: Quality | |
on: | |
pull_request: | |
branches: [ "main" ] | |
workflow_call: | |
permissions: | |
contents: read | |
jobs: | |
quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: 'poetry' | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Lint with flake8 | |
run: | | |
poetry run flake8 qml_essentials | |
poetry run flake8 tests | |
- name: Running license check | |
run: poetry run licensecheck --zero --license mit |