internal, tests passing #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run tests | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- run: npm install | |
- run: npx hardhat test | |
env: | |
CI: true | |
# These are not needed for the tests but | |
# hardhat fails to start when not present. | |
NODE_URL_RINKEBY: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
NODE_URL_MAINNET: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
PRIVATE_KEY: "00000000000000000000000000000000000000000000000000" |