diff --git a/.github/workflows/CI-CD_Pipeline.yml b/.github/workflows/CI-CD_Pipeline.yml index 79aa064b..bb484eb0 100644 --- a/.github/workflows/CI-CD_Pipeline.yml +++ b/.github/workflows/CI-CD_Pipeline.yml @@ -109,6 +109,13 @@ jobs: CUSTOM_JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }} CUSTOM_JWT_ACCESS_TOKEN_EXPIRATION_SECONDS=3600 EOF + - name: Export .env into runner env + working-directory: backend + run: | + while IFS= read -r line; do + [[ -z "$line" || "$line" =~ ^# ]] && continue + echo "$line" >> $GITHUB_ENV + done < .env - name: Run unit, and domain tests run: ${{ matrix.gradle_cmd }} clean test