-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Disable windows variant #2048
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
Disable windows variant #2048
Conversation
gsoltis
commented
Sep 22, 2022
- windows is showing a "The batch file cannot be found." error that we are not currently looking into
- only run the tests if this PR changes something relevant to them.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
.github/workflows/pr-js-tests.yml
Outdated
@@ -30,4 +30,4 @@ jobs: | |||
with: | |||
github-token: "${{ secrets.GITHUB_TOKEN }}" | |||
|
|||
- run: pnpm -- turbo run test --filter=!cli --color | |||
- run: pnpm -- turbo run test --filter=...[${{ env.GITHUB_BASE_REF }}] --filter=!cli --color |
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.
env.GITHUB_BASE_REF
is empty
https://github.com/vercel/turborepo/actions/runs/3107719853/jobs/5036137265#step:5:12
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.
Is that intentional?
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.
I believe these are not accessed from env
https://docs.github.com/en/actions/learn-github-actions/environment-variables#:~:text=C%3A%5Chostedtoolcache%5Cwindows-,Note%3A,read%20during%20workflow%20processing%20using%20the%20%24%7B%7B%20github.ref%20%7D%7D%20context%20property.,-Detecting%20the%20operating
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.
hmm, not intentional.
a0c8c1b
to
7c712a0
Compare
@gaspar09 good catch. I think I've got the right variable now |
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.
🤠 🚀