-
Notifications
You must be signed in to change notification settings - Fork 144
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
[Fix] Windows paths #837
[Fix] Windows paths #837
Conversation
View the example dashboards of the current commit live on PyCafe ☕ 🚀Updated on: 2024-10-29 21:34:03 UTC Link: vizro-core/examples/dev/ |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
env: | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
OPENAI_API_BASE: ${{ secrets.OPENAI_API_BASE }} | ||
VIZRO_TYPE: pypi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @l0uden this is a better way to define environment variables in GHA because it works on all OS.
hatch run ${{ matrix.config.hatch-env }}:pip install ../vizro-core | ||
hatch run ${{ matrix.config.hatch-env }}:test-integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @l0uden I tidied this up by just installing vizro-core
directly - no need to build it first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for solving this! The PR looks good 👍
Description
Fixes #836.
I removed our Windows tests nearly a year ago in #192. This was a great idea until something just broke on Windows and we didn't realise...
The Windows tests are much slower than Linux and still quite low value since there are very few things that could break on Windows without breaking it on Linux too. So we run these Windows tests only on merge to main.
The fix here was very straightforward but getting it to work on GitHub actions very painful 😬
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":