Skip to content

Commit

Permalink
Correct configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 12, 2024
1 parent ac4e80c commit 9b986cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: sleep 10

- name: "Run tests"
run: docker compose exec django_test nox -r --force-color
run: docker compose exec django_test uv run --prerelease=allow nox -r --force-color

- name: Upload documentation
uses: actions/upload-artifact@v4
Expand All @@ -34,11 +34,11 @@ jobs:

- name: Combine coverage data and display human readable report
run: |
docker compose exec django_test nox --session "coverage(django='5.0')"
docker compose exec django_test uv run --prerelease=allow nox --session "coverage(django='5.0')"
- name: Create coverage report and copy to artifacts
run: |
docker compose exec django_test nox --session "coverage(django='5.0')" -- xml
docker compose exec django_test uv run --prerelease=allow nox --session "coverage(django='5.0')" -- xml
docker compose exec django_test cat coverage.xml > coverage.xml
- name: Upload coverage report
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Ignore:
.nox
*.html
2 changes: 1 addition & 1 deletion compose/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN uv venv
COPY pyproject.toml uv.lock ${APP_HOME}/

# Install dependencies using uv
RUN uv sync --prerelease=allow
RUN uv sync --prerelease=allow --extra dev

# Copy remaining project files
COPY noxfile.py manage.py ${APP_HOME}
Expand Down

0 comments on commit 9b986cc

Please sign in to comment.