Skip to content

[CI]: Bump dawidd6/action-download-artifact from 2 to 3 #235

[CI]: Bump dawidd6/action-download-artifact from 2 to 3

[CI]: Bump dawidd6/action-download-artifact from 2 to 3 #235

Workflow file for this run

name: Code quality
on: pull_request
jobs:
pylint:
runs-on: ubuntu-latest
name: Pylint
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Download wheels from commit OpenAssetIO PR
uses: dawidd6/action-download-artifact@v3
with:
workflow: build-wheels.yml
workflow_conclusion: success
name: openassetio-wheels
repo: OpenAssetIO/OpenAssetIO
path: deps
- name: Install dependencies
run: |
# Use wheels from feature branch for intermediate testing
python -m pip install ./deps/openassetio-*cp39*-manylinux_*_x86_64.whl
python -m pip install -r tests/requirements.txt
python -m pip install .
- name: Lint
uses: TheFoundryVisionmongers/[email protected]
with:
pylint-disable: fixme # We track 'todo's through other means
pylint-rcfile: "./pyproject.toml"
pylint-paths: "plugin tests"
black:
runs-on: ubuntu-latest
name: Python formatting
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install black
- name: Check Python formatting
run: black --check .