Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Internal improvement: Migrate Travis-based tests to GitHub Actions #3548

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,27 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: failure()

additional:
strategy:
matrix:
platform: [ubuntu-latest]
node-version: [10.x]
env: [FABRICEVM=true, COVERAGE=true]
runs-on: ${{ matrix.platform }}
continue-on-error: true
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn bootstrap
- run: ${{ matrix.env }} yarn ci
env:
CI: true

slack_notification:
needs: [yarncheck, build]
needs: [yarncheck, build, additional]
runs-on: ubuntu-latest
continue-on-error: true
steps:
Expand Down
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"docs": "esdoc",
"prepare": "yarn build",
"start": "node ./webpack/dev-server.js",
"test": "mocha-webpack --webpack-config webpack/webpack.config-test.js --recursive && yarn build",
"test": "mocha-webpack --webpack-config webpack/webpack.config-test.js --recursive && rm -r dist && yarn build",
"test:coverage": "nyc mocha-webpack --webpack-config webpack/webpack.config-test.js --recursive",
"test:debug": "NODE_ENV=testing node --inspect ./node_modules/.bin/mocha-webpack --webpack-config webpack/webpack.config-test.js --recursive"
},
Expand Down