Skip to content

Commit

Permalink
chore working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
VachaganGrigoryan committed Jul 25, 2024
1 parent cbe3df2 commit 2b6f476
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/hardhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,29 @@ on: [push]

jobs:
test:
runs-on: ubuntu-latest
name: Hardhat unit test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Environment
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: yarn install
working-directory: ./migration

- name: Run XDEFI to CTRL migration test on hardhat
run: npx hardhat test test/XdefiToCtrlMigration.ts --network hardhat
working-directory: ./migration

- name: Run CTRL to XDEFI migration test coverage on hardhat
run: npx hardhat coverage --sources XdefiToCtrlMigration.sol
working-directory: ./migration

env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
BOB_PRIVATE_KEY: ${{ secrets.BOB_PRIVATE_KEY }}
Expand Down

0 comments on commit 2b6f476

Please sign in to comment.