Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
uptickmetachu committed Feb 25, 2025
1 parent dae34a6 commit 3c3df26
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
with:
aws: true
python: true
poetry: true
uv: true
command: make ci
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
args:
- --show-error-codes
name: mypy
entry: poetry run mypy
entry: uv run mypy
require_serial: true
language: system
types:
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
format:
@echo "--- 🐶 Ruff Format 🐶 ---"
poetry run ruff format .
uv run ruff format .

ruff:
@echo "--- 🐶 Ruff Lint 🐶 ---"
poetry run ruff check . --fix
uv run ruff check . --fix

lint: ruff

Expand All @@ -14,11 +14,12 @@ postgres:

test: postgres
@echo "--- 💃 Testing 💃 ---"
poetry run python manage.py test
uv run python manage.py test

publish: ci
# poetry config pypi-token.pypi your-api-token
poetry publish --build
uv build
uv publish

ci: test lint

4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ version: "3.4"

services:
db:
image: postgis/postgis:13-3.0-alpine
volumes:
- ${PWD}/var:/share
image: postgres:17-alpine
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=example
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c3df26

Please sign in to comment.