Skip to content

Merge pull request #915 from PintoGideon/master #613

Merge pull request #915 from PintoGideon/master

Merge pull request #915 from PintoGideon/master #613

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: "0" # necessary for `npm run print-version`
- name: Spin up CUBE
id: cube
uses: FNNDSC/miniChRIS-docker@master
with:
plugins: |
pl-mri10yr06mo01da_normal
pl-bulk-rename
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Cypress Tests
uses: cypress-io/github-action@v4
with:
#build: npm run build
#start: env PORT=8088 npm start
# MUST use dev mode because tests rely on (unmangled) element IDs
start: npm run dev
wait-on: "http://localhost:3000"
wait-on-timeout: 600