Skip to content

Merge pull request #323 from dreadnode/renovate/renovatebot-github-ac… #929

Merge pull request #323 from dreadnode/renovate/renovatebot-github-ac…

Merge pull request #323 from dreadnode/renovate/renovatebot-github-ac… #929

Workflow file for this run

---
name: Lint, Typecheck, and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Install Poetry
uses: abatilo/actions-poetry@b8f6fe29ba2eb78e0d45ccbf41cd14154c4e25b2
- name: Configure Poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@4f41a90a1f38628c7ccc608d05fbafe701bc20ae
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install package
run: poetry install --all-extras
- name: Lint
run: poetry run ruff check --output-format=github rigging
- name: Typecheck
if: always()
run: poetry run mypy rigging
- name: Test
if: always()
run: poetry run pytest