Skip to content

Commit 43d172c

Browse files
committed
Test one frontend test
1 parent bfa01cb commit 43d172c

1 file changed

Lines changed: 33 additions & 33 deletions

File tree

.github/workflows/tests.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# name: Tests Workflow
22

33
# # Controls when the workflow will run
4-
# on:
5-
# # Triggers the workflow on push or pull request events but only for the specified branch
6-
# push:
7-
# branches:
8-
# - "master"
9-
# - "development"
10-
# pull_request:
11-
# branches:
12-
# - "master"
13-
# - "development"
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the specified branch
6+
push:
7+
branches:
8+
- "master"
9+
- "development"
10+
pull_request:
11+
branches:
12+
- "master"
13+
- "development"
1414

1515
# # A workflow run is made up of one or more jobs that can run sequentially or in parallel
16-
# jobs:
16+
jobs:
1717
# EEG_Dipole-test:
1818
# # The type of runner that the job will run on
1919
# runs-on: ubuntu-20.04
@@ -80,28 +80,28 @@
8080
# npm run Control_Panel_test
8181
# env:
8282
# CI: true
83-
# Save_and_Open_File-test:
84-
# # The type of runner that the job will run on
85-
# runs-on: ubuntu-20.04
86-
# container: lironavon/docker-puppeteer-container:14.16.0
87-
# env:
88-
# CI: true
89-
# steps:
90-
# - uses: actions/checkout@v1
91-
# - name: Use Node.js ${{ matrix.node-version }}
92-
# uses: actions/setup-node@v1
93-
# with:
94-
# node-version: ${{ matrix.node-version }}
95-
# cache-dependency-path: frontend/e2e/tests/package-lock.json
96-
# - name: Test for Opening and Saving a file
97-
# run: |
98-
# cd tests/frontend/e2e
99-
# #install dependencies
100-
# npm ci
101-
# # run Control Panel test
102-
# npm run Save_Open_File_test
103-
# env:
104-
# CI: true
83+
Save_and_Open_File-test:
84+
# The type of runner that the job will run on
85+
runs-on: ubuntu-20.04
86+
container: lironavon/docker-puppeteer-container:14.16.0
87+
env:
88+
CI: true
89+
steps:
90+
- uses: actions/checkout@v1
91+
- name: Use Node.js ${{ matrix.node-version }}
92+
uses: actions/setup-node@v1
93+
with:
94+
node-version: ${{ matrix.node-version }}
95+
cache-dependency-path: frontend/e2e/tests/package-lock.json
96+
- name: Test for Opening and Saving a file
97+
run: |
98+
cd tests/frontend/e2e
99+
#install dependencies
100+
npm ci
101+
# run Control Panel test
102+
npm run Save_Open_File_test
103+
env:
104+
CI: true
105105
# RxD-test:
106106
# # The type of runner that the job will run on
107107
# runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)