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

chore: Make source generator tests more resilient #2085

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Jun 25, 2023

Previously, if python was not available on PATH we would fail the tests the source generator tests, since Python is used to simulate source generators. Now, we check both python and python 3 executables first, if none of them exists then we ignore the tests. This will pop up on CI if source generators are broken.

@tgodzik tgodzik requested review from adpi2 and ckipp01 June 25, 2023 14:25
Previously, if python was not available on PATH we would fail the tests. Now, we check both python and python 3 executables first, if none of them exists then we ignore the tests. This will pop up on CI if source generators are broken.
@tgodzik tgodzik merged commit 6742c9a into scalacenter:main Jul 4, 2023
16 of 17 checks passed
@tgodzik tgodzik deleted the fix-python branch July 4, 2023 09:10
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.

2 participants