Skip to content
Snippets Groups Projects
Commit 8b8ccb9e authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl Committed by Irina Kera Gundersen
Browse files

restructure pipeline

parent 200834e0
No related branches found
No related tags found
2 merge requests!11Testing,!10Testing
stages:
- test
- test-frontend
- test-backend
- staging
test-frontend:
image: node:latest
stage: test
stage: test-frontend
script:
# Configure browser
- apt-get update -yqqq
- apt-get install -yqq xvfb
- apt-get install iceweasel -yqq
#- apt-get install -yqq xvfb
#- apt-get install iceweasel -yqq
- apt-get install dbus-x11 -yqq
- Xvfb :99 -screen 0 1280x720x24 -ac &
- export DISPLAY=:99
- export $(dbus-launch)
# Install dependencies
- npm install
#- npm install
- npm install -g testcafe
- testcafe --list-browsers
......@@ -25,7 +26,7 @@ test-frontend:
test-backend:
image: python:3.8
stage: test
stage: test-backend
script:
- cd backend/secfit
- apt-get update -qy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment