Skip to content

Commit

Permalink
try background service method
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 committed Sep 18, 2023
1 parent 38835c4 commit 40a7f81
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ jobs:
build:
name: Test-e2e
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -16,5 +17,12 @@ jobs:
cache: 'yarn'
- 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: |
yarn build
[ -d "./venv" ] && . ./venv/bin/activate
export FLASK_APP=$(CURDIR)/cre.py
export FLASK_CONFIG=development
FLASK_CONFIG=development flask run&
- name: Test-e2e
run: make e2e
run: yarn test:e2e

0 comments on commit 40a7f81

Please sign in to comment.