Merge pull request #1672 from morpho-org/chore/ci-auto-trigger #723
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: Hardhat tests (Common contracts) | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
paths: | |
- lib/** | |
- src/common/** | |
- test/** | |
- "*.lock" | |
- Makefile | |
- foundry.toml | |
- remappings.txt | |
- .github/workflows/ci-hardhat-common.yml | |
jobs: | |
morpho-hardhat-tests: | |
name: eth-mainnet | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: yarn test | |
env: | |
NETWORK: eth-mainnet | |
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }} |