Ändra ordning i workflows
This commit is contained in:
parent
e632c0277b
commit
d8ae7f9820
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -37,12 +37,6 @@ jobs:
|
|||||||
- name: Install Playwright browsers
|
- name: Install Playwright browsers
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
|
|
||||||
# Start Flask server
|
|
||||||
- name: Start Flask server
|
|
||||||
run: |
|
|
||||||
flask --app app:create_app run --port 5001 &
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
# Linting
|
# Linting
|
||||||
- name: Lint Python
|
- name: Lint Python
|
||||||
run: npm run lint:py
|
run: npm run lint:py
|
||||||
@ -50,6 +44,12 @@ jobs:
|
|||||||
- name: Lint JavaScript
|
- name: Lint JavaScript
|
||||||
run: npm run lint:js
|
run: npm run lint:js
|
||||||
|
|
||||||
|
# Start Flask server
|
||||||
|
- name: Start Flask server
|
||||||
|
run: |
|
||||||
|
flask --app app:create_app run --port 5001 &
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
- name: Run unit & integration tests (pytest)
|
- name: Run unit & integration tests (pytest)
|
||||||
run: pytest -q
|
run: pytest -q
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user