Skip to content

Commit cfe3402

Browse files
committed
organize test workflow
1 parent b336a3b commit cfe3402

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,20 @@ on:
1111
- cron: "0 0 * * *"
1212

1313
jobs:
14-
test-python:
14+
test-javascript:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: "14"
21+
- name: Test Javascript
22+
working-directory: ./src/idom/client/app
23+
run: |
24+
npm --version
25+
npm install
26+
npm test
27+
test-python-coverage:
1528
runs-on: ubuntu-latest
1629
steps:
1730
- uses: actions/checkout@v2
@@ -28,19 +41,6 @@ jobs:
2841
- name: Run Tests
2942
run: |
3043
nox -s test -- pytest[--headless]
31-
test-javascript:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v2
35-
- uses: actions/setup-node@v2
36-
with:
37-
node-version: "14"
38-
- name: Test Javascript
39-
working-directory: ./src/idom/client/app
40-
run: |
41-
npm --version
42-
npm install
43-
npm test
4444
test-python-versions:
4545
runs-on: ${{ matrix.os }}
4646
strategy:

0 commit comments

Comments
 (0)