Closed hackmod closed 4 years ago
Great work! Could you add Github Actions for running these tests on Linux and Windows, and the versions node.jss we support?
Great work! Could you add Github Actions for running these tests on Linux and Windows, and the versions node.jss we support?
Thanks for your feedback!!
I've never used Github workflow before. anyway, I've just made a new PR on my personal repo. https://github.com/hackmod/node-multi-hashing/pull/1
this is my setting: .github/workflows/node.js.yml
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [0.10.x, 4.x, 6.x, 8.x, 10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build --if-present
- run: npm test
after some test on it, I will post a new PR or simply add .github/workflows/node.js.yml
thanks in advance!
Great! I enabled AppVeyor integration as well.
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
ready to merge
test.vectors.js
to test test-vectors.Usage
mocha -gc tests/test.vectors.js
ornpm run test
: testset1, set2, set3
test-vectors.SETS
env variableSETS=set1 mocha -gc tests/test.vectors.js
- test onlyset1
test-vectors set.SKIPS
env variableSKIPS=cryptonight,scryptn mocha -gc tests/test.vectors.js
- skipcryptonight,scriptn
algos.NODE_DEV=dev
env variable.note
I do not rename the
tests/
dir totest/
(mocha default)