mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 19:44:21 +01:00
Add Makefile for Python bindings
This commit is contained in:
15
.github/workflows/python.yml
vendored
15
.github/workflows/python.yml
vendored
@@ -72,11 +72,8 @@ jobs:
|
||||
- name: Install dev dependencies
|
||||
run: pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run Ruff check
|
||||
run: ruff check
|
||||
|
||||
- name: Run Ruff format check
|
||||
run: ruff format --diff
|
||||
- name: Run lint
|
||||
run: make lint
|
||||
|
||||
check-requirements:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -98,10 +95,4 @@ jobs:
|
||||
run: pip install pip-tools
|
||||
|
||||
- name: Check requirements files
|
||||
run: |
|
||||
mkdir .tmp
|
||||
pip-compile --quiet --output-file .tmp/requirements.txt
|
||||
pip-compile --quiet --extra=dev --output-file .tmp/requirements-dev.txt
|
||||
diff -u requirements.txt .tmp/requirements.txt || (echo "requirements.txt doesn't match pyproject.toml" && exit 1)
|
||||
diff -u requirements-dev.txt .tmp/requirements-dev.txt || (echo "requirements-dev.txt doesn't match pyproject.toml" && exit 1)
|
||||
echo "Requirements files match pyproject.toml"
|
||||
run: make check-requirements
|
||||
|
||||
Reference in New Issue
Block a user