Skip to content

Commit d03e8a2

Browse files
authored
Update unit-tests.yml
1 parent 1a8fc31 commit d03e8a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ jobs:
5757
# Создаем файл .env, если он не существует
5858
if [ ! -f ".env" ]; then
5959
echo "Creating .env file for testing..."
60-
cat <<-EOF > .env
61-
DEBUG=True
62-
SECRET_KEY=your_secret_key_for_testing
63-
DATABASE_URL=postgres://postgres:postgres@localhost:5432/testdb
64-
EOF
60+
cat <<EOF > .env
61+
DEBUG=True
62+
SECRET_KEY=your_secret_key_for_testing
63+
DATABASE_URL=postgres://postgres:postgres@localhost:5432/testdb
64+
EOF
6565
fi
6666
# Импортируем переменные окружения из .env
6767
export $(grep -v '^#' .env | xargs)

0 commit comments

Comments
 (0)