Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Move integration test script into justfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Beck-Buysse <[email protected]>
  • Loading branch information
rbuysse committed Apr 24, 2021
1 parent d83a4aa commit 215e4be
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 52 deletions.
52 changes: 0 additions & 52 deletions bin/run_integration_tests

This file was deleted.

17 changes: 17 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ ci:
just ci-test-ui
just ci-lint
just ci-test
ci-test-integration

ci-build-ui-test-deps:
#!/usr/bin/env sh
Expand All @@ -87,6 +88,22 @@ ci-test:
docker-compose -f docker/compose/grid-tests.yaml build --force-rm
docker-compose -f docker/compose/grid-tests.yaml up --abort-on-container-exit --exit-code-from grid_tests
ci-test-integration:
#!/usr/bin/env sh
set -e
echo "\033[1mRunning daemon integration test\033[0m"
cd daemon/test && \
CARGO_ARGS=" --features experimental" \
docker-compose up \
--abort-on-container-exit \
--exit-code-from daemon --build
echo "\033[1mRunning integration test\033[0m"
cd ../../integration && \
CARGO_ARGS=" --features experimental" \
docker-compose up \
--abort-on-container-exit \
--exit-code-from gridd --build
ci-test-ui: ci-build-ui-test-deps
#!/usr/bin/env sh
set -e
Expand Down

0 comments on commit 215e4be

Please sign in to comment.