From 5a198d766d4e61ec4e079dec957f3d9509dcf2d1 Mon Sep 17 00:00:00 2001 From: TomStrong <5strot78@solent.ac.uk> Date: Tue, 12 Dec 2023 17:31:18 +0000 Subject: [PATCH] Run app for tests --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96bffeb..d2c43ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,13 @@ jobs: JWT_SECRET: secret AZURE_STORAGE_CONNECTION_STRING: 'DefaultEndpointsProtocol=https;AccountName=account;AccountKey=key;EndpointSuffix=core.windows.net' + - name: Run app + run: npm run start + env: + MONGODB_URI: mongodb://admin:admin@localhost:27017 + JWT_SECRET: secret + AZURE_STORAGE_CONNECTION_STRING: 'DefaultEndpointsProtocol=https;AccountName=account;AccountKey=key;EndpointSuffix=core.windows.net' + - name: Run UI tests run: npm run test-ui env: