Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci improvements #229

Merged
merged 30 commits into from
Oct 30, 2023
Merged

Ci improvements #229

merged 30 commits into from
Oct 30, 2023

Conversation

0xtekgrinder
Copy link
Contributor

Fix the tests and improve the CI by adding a few things:

  • lcov badge
  • runs on all PR
  • better cache handling
  • steps summary

@0xtekgrinder 0xtekgrinder self-assigned this Oct 26, 2023
README.md Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@0xtekgrinder 0xtekgrinder marked this pull request as ready for review October 26, 2023 17:03
.github/workflows/ci-deep.yml Show resolved Hide resolved
- name: Run Foundry tests
run: yarn foundry:test
env:
ETH_NODE_URI_MAINNET: ${{ secrets.ETH_NODE_URI_MAINNET }}
ETH_NODE_URI_POLYGON: ${{ secrets.ETH_NODE_URI_POLYGON }}
ETH_NODE_URI_GOERLI: ${{ secrets.ETH_NODE_URI_GOERLI }}
ETH_NODE_URI_FANTOM: ${{ secrets.ETH_NODE_URI_FANTOM }}
FOUNDRY_FUZZ_RUNS: "5000"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it not set as a variable as ci-deep?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it would be better to just set it as env because I don't believe it will be useful to change it as input

test/foundry/vaultManager/VaultManager.t.sol Outdated Show resolved Hide resolved
@GuillaumeNervoXS
Copy link
Contributor

Failing foundry test...

@0xtekgrinder 0xtekgrinder merged commit 87748f1 into main Oct 30, 2023
6 checks passed
@sogipec sogipec deleted the chore/ci-improvements branch December 20, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants