Skip to content

Commit

Permalink
Update file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lun4m committed Jun 26, 2024
1 parent d8e0a02 commit 92ead13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions integration_tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
test: setup
test_all: _test_dummy clean
_test_dummy: setup
cargo test --no-fail-fast -- --nocapture --test-threads=1
@make clean

end-to-end: setup
cargo test --test end-to-end --no-fail-fast -- --nocapture --test-threads=1
@make clean
e2e := end_to_end
$(e2e): _e2e_dummy clean
_e2e_dummy: setup
cargo test --test $(e2e) --no-fail-fast -- --nocapture --test-threads=1

setup:
@echo "Starting Postgres docker container..."
docker run --name lard_tests -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres
@sleep 5
@echo; sleep 5
cargo build --workspace --tests
cd ..; target/debug/prepare_db
@echo; echo "Loading DB schema..."; echo
@cd ..; target/debug/prepare_db

clean:
@echo "Stopping Postgres container..."
Expand Down
File renamed without changes.

0 comments on commit 92ead13

Please sign in to comment.