From f19ef7bfc4a03e9931269969a7f16216383d1101 Mon Sep 17 00:00:00 2001 From: ekedonald Date: Sun, 21 Jul 2024 19:25:17 +0100 Subject: [PATCH] Add copy env to test job --- .github/workflows/development.yml | 2 ++ .github/workflows/production.yml | 2 ++ .github/workflows/staging.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index cca31641..66f1cddc 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v4 + - name: Create app config file + run: cp app-sample.env app.env - name: Run All Tests run: go test ./... -timeout 99999s diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 4635d516..621b0a3c 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v4 + - name: Create app config file + run: cp app-sample.env app.env - name: Run All Tests run: go test ./... -timeout 99999s diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 94bc0c8c..49aea6d3 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -46,6 +46,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v4 + - name: Create app config file + run: cp app-sample.env app.env - name: Run All Tests run: go test ./... -timeout 99999s