Skip to content

Add a GitHub workflow to comment the SQL generated by a migration in PRs #801

Add a GitHub workflow to comment the SQL generated by a migration in PRs

Add a GitHub workflow to comment the SQL generated by a migration in PRs #801

Workflow file for this run

name: "Lint & Test"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
lint_test:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: "Setup PDM"
uses: pdm-project/setup-pdm@568ddd69406b30de1774ec0044b73ae06e716aa4 # v4
with:
python-version: "3.12"
cache: true
- name: "Install dependencies"
run: pdm install --dev
- name: "Run precommit"
run: pdm precommit
- name: "Run tests"
run: pdm test