From 5c077a48187739cb2f950192116ce1224ffc8aab Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Tue, 24 Sep 2024 16:34:34 +0800 Subject: [PATCH] fix: load .env file for unit tests too --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c750b04..e9471d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup + - name: Load .env file + uses: xom9ikk/dotenv@v2 + with: + mode: test - name: Configure Datadog Test Visibility env: DD_SERVICE_NAME: ${{ secrets.DD_SERVICE_NAME }}