fix: CI installs requirements-dev.txt (faker needed for tests), set TESTING=1
This commit is contained in:
parent
53f39bb38d
commit
f9fae6e895
2 changed files with 6 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -20,10 +20,12 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv pip install --system -r requirements.txt
|
||||
run: uv pip install --system -r requirements-dev.txt
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --tb=short
|
||||
env:
|
||||
TESTING: "1"
|
||||
|
||||
docker-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -18,10 +18,12 @@ jobs:
|
|||
uses: astral-sh/setup-uv@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv pip install --system -r requirements.txt
|
||||
run: uv pip install --system -r requirements-dev.txt
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --tb=short
|
||||
env:
|
||||
TESTING: "1"
|
||||
|
||||
build-and-push:
|
||||
needs: test
|
||||
|
|
|
|||
Loading…
Reference in a new issue