Skip to content

Commit

Permalink
Merge pull request #24872 from nextcloud/tests/jsunit-chromium
Browse files Browse the repository at this point in the history
Run jsunit with chromium/puppeteer
  • Loading branch information
rullzer authored Dec 29, 2020
2 parents 083f3d2 + be38b92 commit 50d5229
Show file tree
Hide file tree
Showing 8 changed files with 1,100 additions and 2,298 deletions.
23 changes: 0 additions & 23 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
kind: pipeline
name: jsunit

steps:
- name: jsunit
image: nextcloudci/jsunit:jsunit-5
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- ./autotest-js.sh
- curl -o codecov.sh https://codecov.io/bash
- bash codecov.sh -C $DRONE_COMMIT

trigger:
branch:
- master
- stable*
event:
- pull_request
- push

---
kind: pipeline
name: checkers

steps:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ jobs:
- name: Test
run: npm run test

jsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: ./autotest-js.sh

handlebars:
runs-on: ubuntu-latest
strategy:
Expand Down
Loading

0 comments on commit 50d5229

Please sign in to comment.