Fix raw SQL execution in test #336
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
--- | |
# yamllint disable rule:line-length | |
name: Pre-commit checks | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
paths: | |
- '**.py' | |
- github_action_scripts/python_setup.sh | |
- .github/workflows/precommit.yml | |
- .pre-commit-config.yaml | |
jobs: | |
precommit-checks: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Pre-commit checks | |
run: | | |
set -euxo pipefail | |
${GITHUB_WORKSPACE}/github_action_scripts/python_setup.sh | |
source ${HOME}/venv/bin/activate | |
pre-commit run --all-files |