Skip to content

Commit

Permalink
Merge pull request #98 from tellor-io/360
Browse files Browse the repository at this point in the history
360
  • Loading branch information
themandalore authored Oct 13, 2022
2 parents a407117 + 006eebd commit 3eb2867
Show file tree
Hide file tree
Showing 18 changed files with 3,264 additions and 4,067 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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"
4 changes: 4 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"require": "hardhat/register",
"timeout": 40000
}
Loading

0 comments on commit 3eb2867

Please sign in to comment.