|
1 | 1 | # name: Tests Workflow |
2 | 2 |
|
3 | 3 | # # 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" |
14 | 14 |
|
15 | 15 | # # A workflow run is made up of one or more jobs that can run sequentially or in parallel |
16 | | -# jobs: |
| 16 | +jobs: |
17 | 17 | # EEG_Dipole-test: |
18 | 18 | # # The type of runner that the job will run on |
19 | 19 | # runs-on: ubuntu-20.04 |
|
80 | 80 | # npm run Control_Panel_test |
81 | 81 | # env: |
82 | 82 | # 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 |
105 | 105 | # RxD-test: |
106 | 106 | # # The type of runner that the job will run on |
107 | 107 | # runs-on: ubuntu-20.04 |
|
0 commit comments