Skip to content

Commit

Permalink
fixup! Update Makefile targets dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 committed Aug 19, 2024
1 parent f494069 commit 5b7062b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -441,14 +441,17 @@ simulators/dps: simulators/dps/clean
simulators/clean: simulators/dps/clean
simulators: simulators/dps

env: clean certificates nats privateKeys http-gateway-www simulators
env: clean certificates nats privateKeys http-gateway-www mongo simulators
env/test/mem: clean certificates nats privateKeys

ifeq ($(TEST_DATABASE),mongodb)
env: mongo
env/test/mem: mongo
# github runners run out of file space if multiple mongodb replicas are started, so we start only a single instance
env/test/mem: mongo-no-replicas
else
# test uses mongodb for most tests, but scylla can be enabled for some; so we always need mongodb to be running
# but scylla needs to be started only if TEST_DATABASE=cqldb
env: scylla
# test/mem uses either mongodb or scylla, so just one needs to be started
env/test/mem: scylla
endif

Expand Down

0 comments on commit 5b7062b

Please sign in to comment.