2021-09-16 17:16:51 +02:00
|
|
|
---
|
|
|
|
name: Run integration tests (cypress)
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run-cypress:
|
2021-11-23 22:47:49 +01:00
|
|
|
name: 'Runs integration tests in cypress'
|
2021-09-16 17:16:51 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
|
|
|
|
- name: Build and run OS4 Dev
|
|
|
|
run: make run-dev ARGS="-d"
|
|
|
|
|
2021-11-23 22:47:49 +01:00
|
|
|
- name: Run integration tests (cypress)
|
|
|
|
uses: cypress-io/github-action@v2
|
|
|
|
with:
|
|
|
|
working-directory: integration
|
|
|
|
wait-on: 'https://localhost:8000'
|
|
|
|
wait-on-timeout: 300
|
|
|
|
env:
|
|
|
|
NODE_TLS_REJECT_UNAUTHORIZED: 0
|