-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lucas Manuel
committed
Apr 8, 2022
1 parent
5b755bc
commit 20b1d71
Showing
2 changed files
with
23 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,40 +6,16 @@ jobs: | |
run-ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Checkout mpl-migration submodule | ||
env: | ||
SSH_KEY_MPL_MIGRATION: ${{secrets.SSH_KEY_MPL_MIGRATION}} | ||
shell: bash | ||
run: | | ||
mkdir $HOME/.ssh | ||
echo "$SSH_KEY_MPL_MIGRATION" > $HOME/.ssh/id_rsa | ||
chmod 600 $HOME/.ssh/id_rsa | ||
git submodule update --init --recursive modules/mpl-migration | ||
- name: Checkout revenue-distribution-token submodule | ||
env: | ||
SSH_KEY_RDT: ${{secrets.SSH_KEY_RDT}} | ||
shell: bash | ||
run: | | ||
rm -rf $HOME/.ssh/id_rsa | ||
echo "$SSH_KEY_RDT" > $HOME/.ssh/id_rsa | ||
chmod 600 $HOME/.ssh/id_rsa | ||
git submodule update --init --recursive modules/revenue-distribution-token | ||
- name: Checkout public submodules | ||
shell: bash | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
git submodule update --init --recursive | ||
- name: Run forge tests | ||
env: | ||
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | ||
run: ./test.sh -p deep | ||
- name: Install submodules | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
git submodule update --init --recursive | ||
- name: Run forge tests | ||
run: ./test.sh -p deep |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: SC Tests | ||
name: 50k fuzz run test on push to main | ||
|
||
on: | ||
push: | ||
|
@@ -9,40 +9,16 @@ jobs: | |
run-ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Checkout mpl-migration submodule | ||
env: | ||
SSH_KEY_MPL_MIGRATION: ${{secrets.SSH_KEY_MPL_MIGRATION}} | ||
shell: bash | ||
run: | | ||
mkdir $HOME/.ssh | ||
echo "$SSH_KEY_MPL_MIGRATION" > $HOME/.ssh/id_rsa | ||
chmod 600 $HOME/.ssh/id_rsa | ||
git submodule update --init --recursive modules/mpl-migration | ||
- name: Checkout revenue-distribution-token submodule | ||
env: | ||
SSH_KEY_RDT: ${{secrets.SSH_KEY_RDT}} | ||
shell: bash | ||
run: | | ||
rm -rf $HOME/.ssh/id_rsa | ||
echo "$SSH_KEY_RDT" > $HOME/.ssh/id_rsa | ||
chmod 600 $HOME/.ssh/id_rsa | ||
git submodule update --init --recursive modules/revenue-distribution-token | ||
- name: Checkout public submodules | ||
shell: bash | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
git submodule update --init --recursive | ||
- name: 30k fuzz run test on push to main | ||
env: | ||
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | ||
run: ./test.sh -p super_deep | ||
- name: Install submodules | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
git submodule update --init --recursive | ||
- name: Run forge tests | ||
run: ./test.sh -p super_deep |