diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd6680f4..3935e2af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,13 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Generate .env file + run: | + touch .env + echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" >> .env + echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env + echo "POSTGRES_DB=${{ secrets.POSTGRES_DB }}" >> .env + - name: Build images run: docker compose build