chore: Update pyproject and tests to support Mac's/arm local development #1064
Workflow file for this run
This file contains hidden or 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
# Contrinuous Integration for the core package | |
name: lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
python: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Env | |
uses: ./.github/actions/setup-env | |
with: | |
python-version: "3.9" # the pre-commit is hooked in as 3.9 | |
- name: Install Python dependencies | |
run: poetry install --no-interaction | |
- name: Execute pre-commit handler | |
run: | | |
poetry run pre-commit run check-toml | |
poetry run pre-commit run trailing-whitespace | |
poetry run pre-commit run end-of-file-fixer | |
poetry run pre-commit run ruff | |
poetry run pre-commit run ruff-format |