forked from safe-global/safe-smart-account
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add unified test action for all contract versions (safe-global…
…#328) * Add unified test action for ethers with all contract versions * Add unified test action for web3 with all contract versions
- Loading branch information
Showing
12 changed files
with
39 additions
and
215 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Safe Core SDK Test - Contracts | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- development | ||
env: | ||
INFURA_KEY: ${{ secrets.INFURA_KEY }} | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
provider: [ethers, web3] | ||
contract-version: [v1.0.0, v1.1.1, v1.2.0, v1.3.0] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: yarn | ||
- run: | | ||
yarn install --frozen-lockfile | ||
yarn build | ||
- name: Test ${{ matrix.provider }} - Safe ${{ matrix.contract-version }} | ||
run: | | ||
cd packages/safe-core-sdk | ||
yarn test:hardhat:${{ matrix.provider }}:${{ matrix.contract-version }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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