Skip to content

Commit

Permalink
test: add new service to test/docker-compose.yml to run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kjbrak authored and jsolaas committed Nov 5, 2024
1 parent 87e2d8a commit d3b132e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
services:
dockersnapshots:
build:
context: ../
dockerfile: ./Dockerfile
target: build
working_dir: /project/libecalc
volumes:
- ../:/project/libecalc
command: ["poetry", "run", "pytest", "-m", "dockersnapshot", "--snapshot-update"]

test:
build:
context: ../
Expand All @@ -7,4 +17,4 @@ services:
working_dir: /project/libecalc
volumes:
- ../:/project/libecalc
command: ["poetry", "run", "pytest", "-m", "dockersnapshot", "--snapshot-update"]
command: ["poetry", "run", "pytest"]

0 comments on commit d3b132e

Please sign in to comment.