Skip to content

Commit

Permalink
Fix run test command
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-misuk-valor committed May 22, 2024
1 parent 070cbc8 commit 5017d79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.git
.*
!.flake8
!.pdm-python
~*
db
docs
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ FROM common-os AS builder
WORKDIR $PKG_DIR
# COPY docker/conf/* /conf/
COPY docker/entrypoint.sh docker/wait-for-it.sh /usr/local/bin/
COPY pyproject.toml pdm.lock pdm.toml ./
COPY pyproject.toml pdm.lock pdm.toml .pdm-python ./
RUN pdm sync --prod --no-editable --no-self
# RUN echo $CHECKSUM > /CHECKSUM

Expand Down
2 changes: 1 addition & 1 deletion ops/compose.ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.8'
services:
backend:
image: ${backend_image}
command: tests
command: pdm run coverage
environment:
- SECRET_KEY=secret-key
- DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
Expand Down

0 comments on commit 5017d79

Please sign in to comment.