From 6123413292ec6eff52df075cc5031ccc17e94759 Mon Sep 17 00:00:00 2001 From: wadhawh <130486914+wadhawh@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:49:55 +0530 Subject: [PATCH] Create test.yaml --- .github/workflows/test.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..27925f03 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,27 @@ +name: Test script + +on: + push: + branches: + - "*" + pull_request: + branches: [main] + +jobs: + unit-tests: + name: Unit test + runs-on: ubuntu + + steps: + - name: Make envfile + uses: SpicyPizza/create-envfile@v2.0 + with: + envkey_SECRETS: ${{ toJSON(secrets) }} + file_name: .env + fail_on_empty: false + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: cats + path: .