From e5a3c594b064854dc18d479f22fa066c3c82676b Mon Sep 17 00:00:00 2001 From: john681611 Date: Tue, 19 Sep 2023 10:40:01 +0100 Subject: [PATCH] Revert actions simplification --- .github/workflows/e2e.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5dab5bdb7..e252f2987 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -18,4 +18,11 @@ jobs: - name: Install python dependencies run: sudo apt-get update && sudo apt-get install -y python3-setuptools python3-pip chromium-browser libgbm1 && make install-deps - name: Run App in background - run: make e2e + run: | + yarn build + [ -d "./venv" ] && . ./venv/bin/activate + export FLASK_APP=./cre.py + export FLASK_CONFIG=development + FLASK_CONFIG=development flask run& + - name: Test-e2e + run: yarn test:e2e