Migrate Ownable tests (#4657)
Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
@ -64,6 +64,8 @@ jobs:
|
||||
cp -rnT contracts lib/openzeppelin-contracts/contracts
|
||||
- name: Transpile to upgradeable
|
||||
run: bash scripts/upgradeable/transpile.sh
|
||||
- name: Compile contracts # TODO: Remove after migrating tests to ethers
|
||||
run: npm run compile
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
- name: Check linearisation of the inheritance graph
|
||||
@ -92,7 +94,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up environment
|
||||
uses: ./.github/actions/setup
|
||||
- run: npm run coverage
|
||||
- name: Compile contracts # TODO: Remove after migrating tests to ethers
|
||||
run: npm run compile
|
||||
- name: Run coverage
|
||||
run: npm run coverage
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user