Merge pull request #86 from aave/feat/github-actions

feat: add github actions to run tests at master and pull requests
This commit is contained in:
The-3D 2021-04-23 18:19:04 +02:00 committed by GitHub
commit a25b7940f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 713 additions and 1638 deletions

37
.github/workflows/node.js.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: Aave Actions
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Test
run: npm run ci:test
# - name: Coverage
# run: npm run coverage
# - uses: codecov/codecov-action@v1
# with:
# fail_ci_if_error: true

View File

@ -15,6 +15,7 @@ import 'temp-hardhat-etherscan';
import 'hardhat-gas-reporter';
import 'hardhat-typechain';
import '@tenderly/hardhat-tenderly';
import 'solidity-coverage';
const SKIP_LOAD = process.env.SKIP_LOAD === 'true';
const DEFAULT_BLOCK_GAS_LIMIT = 12450000;

2311
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -118,7 +118,7 @@
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.53",
"pretty-quick": "^2.0.1",
"solidity-coverage": "0.7.10",
"solidity-coverage": "^0.7.16",
"temp-hardhat-etherscan": "^2.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",