Skip to content

Commit

Permalink
Change workspace path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lun4m committed Jun 24, 2024
1 parent 2269dc3 commit 162c062
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [
"fake_data_generator",
"api",
"ingestion",
"lard_tests",
"integration_tests",
]
resolver = "2"

Expand Down
File renamed without changes.
20 changes: 20 additions & 0 deletions integration_tests/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
test: 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

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

clean:
@echo "Stopping Postgres container..."
docker stop lard_tests
@echo "Removing Postgres container..."
docker rm lard_tests
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions lard_tests/Makefile

This file was deleted.

0 comments on commit 162c062

Please sign in to comment.