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

Add proc macros to ignore tests if env or http not set #36

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

ferranbt
Copy link
Contributor

@ferranbt ferranbt commented Jul 6, 2024

πŸ“ Summary

This PR creates two new procedural macro (and crate otherwise it does not work) that:

  • Ignore a test if some env variable is not set.
  • Ignore a test if some endpoint is not available.

βœ… I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

Copy link

github-actions bot commented Jul 6, 2024

Benchmark results for d648cb6

Report: https://flashbots-rbuilder-ci-stats.s3.us-east-2.amazonaws.com/benchmark/d648cb6-882ce81/report/index.html

Date (UTC) 2024-07-06T12:08:44+00:00
Commit d648cb60033c2f6b80782eab734573e5aa371c24
Base SHA 882ce817d5dc10f63d37a31c42ebe47686954252

Significant changes

None

Copy link
Contributor

@ryanschneider ryanschneider left a comment

Choose a reason for hiding this comment

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

Great idea, lgtm!

@dvush dvush merged commit b2cb717 into develop Jul 8, 2024
2 checks passed
@dvush dvush deleted the ferranbt/macro-ignore-tests-if-context-not-set branch July 8, 2024 16:56
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