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

test: codspeed CI workflow #813

Closed
wants to merge 10 commits into from

Conversation

FBruzzesi
Copy link
Member

@FBruzzesi FBruzzesi commented Aug 19, 2024

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below.

Opening as draft since I was not able to make it work on the fork, but @DeaMariaLeon told me that she had the same issue. Therefore I am giving it a spin on the main repo

Comment on lines +106 to +108
addopts = [
"-m not benchmark",
]
Copy link
Member Author

Choose a reason for hiding this comment

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

Changes the default to not run those marks

import narwhals.stable.v1 as nw
from narwhals.utils import parse_version

pytestmark = pytest.mark.benchmark
Copy link
Member Author

Choose a reason for hiding this comment

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

Mark entire file

@FBruzzesi FBruzzesi changed the title tests: codspeed CI workflow test\: codspeed CI workflow Aug 19, 2024
@FBruzzesi FBruzzesi changed the title test\: codspeed CI workflow test: codspeed CI workflow Aug 19, 2024
@FBruzzesi
Copy link
Member Author

Ok, same issue is here. Closing and getting back to fork for testing

@FBruzzesi FBruzzesi closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enh]: Better benchmarking routine
1 participant