Skip to content
Snippets Groups Projects

feat: tuned Доработан ci и скрипт запуска в В Ubuntu 22.04 (jammy)

Merged Maxim Morev requested to merge feature/ci into main
Compare and
3 files
+ 32
4
Preferences
File browser
Compare changes
+ 26
0
#!/bin/bash
# Start the test environment in ubuntu 22.04 (jammy)
echo "Starting test environment..."
docker compose --file docker-compose.yml up -d
# Wait for services to be fully available
echo "Waiting for services to start..."
sleep 10
# Run the Cucumber tests
echo "Running tests..."
./gradlew cucumber
# Capture the test result
TEST_RESULT=$?
echo "Test result: $TEST_RESULT"
# Stop and remove containers
echo "Cleaning up..."
docker compose --file docker-compose.yml down
# Return the test result
exit $TEST_RESULT
\ No newline at end of file