diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1df2e47..0c63c05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,19 +45,19 @@ jobs: - name: ๐Ÿ“ฆ Install dependencies run: | - python -m venv venv - source venv/bin/activate pip install --upgrade pip pip install -r requirements.txt + - name: ๐Ÿงน Lint code with Ruff + run: | + ruff check . + - name: ๐Ÿ› ๏ธ Init test database run: | - source venv/bin/activate python scripts/init_db.py - name: โœ… Run tests run: | - source venv/bin/activate pytest diff --git a/requirements.txt b/requirements.txt index 03360af..8d4b977 100644 --- a/requirements.txt +++ b/requirements.txt @@ -41,3 +41,4 @@ uvicorn==0.34.2 uvloop==0.21.0 watchfiles==1.0.5 websockets==15.0.1 +ruff==0.11.11