mirror of
https://github.com/readur/readur.git
synced 2026-01-05 22:10:31 -06:00
13 lines
334 B
Bash
Executable File
13 lines
334 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Run tests in Docker environment
|
|
echo "Running tests in Docker environment..."
|
|
|
|
# Build and run tests
|
|
docker-compose -f docker-compose.test.yml up --build --abort-on-container-exit --exit-code-from test
|
|
|
|
# Clean up
|
|
docker-compose -f docker-compose.test.yml down -v
|
|
|
|
# Return the exit code from the test container
|
|
exit $? |