From b16d53964de5f536462523c96d40ea1c657a564f Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Thu, 13 Oct 2022 23:23:53 +0200 Subject: [PATCH] chore: add system test action --- .github/workflows/backend-system-tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/backend-system-tests.yml diff --git a/.github/workflows/backend-system-tests.yml b/.github/workflows/backend-system-tests.yml new file mode 100644 index 0000000..f23bdcf --- /dev/null +++ b/.github/workflows/backend-system-tests.yml @@ -0,0 +1,21 @@ +name: Backend system tests + +on: + pull_request: + branches: + - main + +jobs: + integration-tests: + runs-on: ubuntu-latest + container: node:18-alpine + steps: + - uses: actions/checkout@v2 + with: + path: backend + - name: Install Dependencies + run: npm install + - name: Create .env file + run: mv .env.example .env + - name: Run Server and Test with Newman + run: npm run test:system