forked from bgd-labs/aave-governance-v3
-
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.
Merge pull request bgd-labs#37 from bgd-labs/fix/fix-ci
fix: removed unused paths from certora ci
- Loading branch information
Showing
11 changed files
with
75 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: PR Comment | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Test] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
actions: read | ||
issues: write | ||
checks: read | ||
statuses: read | ||
pull-requests: write | ||
|
||
jobs: | ||
comment: | ||
uses: bgd-labs/github-workflows/.github/workflows/comment.yml@main | ||
secrets: | ||
READ_ONLY_PAT: ${{ secrets.READ_ONLY_PAT }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Test | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Foundry build n test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: bgd-labs/action-rpc-env@main | ||
with: | ||
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | ||
|
||
# we simply use foundry zk for all jobs in this repo | ||
- name: Run Foundry setup | ||
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main | ||
|
||
- name: Run Forge tests | ||
id: test | ||
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main | ||
|
||
- name: Run Gas report | ||
uses: bgd-labs/github-workflows/.github/actions/foundry-gas-report@main | ||
|
||
- name: Run Lcov report | ||
uses: bgd-labs/github-workflows/.github/actions/foundry-lcov-report@main | ||
|
||
- name: Run Forge tests | ||
uses: bgd-labs/github-workflows/.github/actions/comment-artifact@main | ||
|
||
# we let failing tests pass so we can log them in the comment, still we want the ci to fail | ||
- name: Post test | ||
if: ${{ steps.test.outputs.testStatus != 0 }} | ||
run: | | ||
echo "tests failed" | ||
exit 1 |
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
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
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