-
Notifications
You must be signed in to change notification settings - Fork 978
chore: run macOS, windows, and race tests with Postgres in CI #15520
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
Changes from 1 commit
5686771
fede550
cd9b4d1
e797183
fb23890
4e3421f
46a8c60
dcfdc07
5d79aea
1c99f2e
de40386
988c893
e7463ec
b41c523
8a61183
d319138
c63786f
ed13154
4b6f183
9c7e240
4969a23
160e77c
f87261f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -370,7 +370,7 @@ jobs: | |
api-key: ${{ secrets.DATADOG_API_KEY }} | ||
|
||
test-go-pg: | ||
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xlarge'}} | ||
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'macos-latest-xlarge' || matrix.os }} | ||
needs: changes | ||
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' | ||
# This timeout must be greater than the timeout set by `go test` in | ||
|
@@ -442,7 +442,7 @@ jobs: | |
# temporarily allow windows tests to fail. Using a matrix strategy here makes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see the Windows tests are broken, I'm not sure if we want to merge a CI suite that often fails, even if it's not required (could slightly obscure real issues + not great optics). Perhaps it should just get skipped/commented out until we're able to improve the reliability? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we do have the Windows tests covered by in memory for now, maybe these should be disabled for now to avoid ❌ appearing everywhere. Are there any issues tracking the windows tests breaking in postgres? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I just added #15560.
Makes sense. I'll postpone merging this PR until Windows tests are fixed. I'll try to get it done this week. |
||
# the check in the `required` job rather complicated. | ||
test-go-pg-windows: | ||
runs-on: ${{ github.repository_owner == 'coder' && 'windows-latest-16-cores' }} | ||
runs-on: ${{ github.repository_owner == 'coder' && 'windows-latest-16-cores' || 'windows-latest' }} | ||
needs: changes | ||
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' | ||
# This timeout must be greater than the timeout set by `go test` in | ||
|
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.
Holy mother of github actions interpolation
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.
We also have this on
go-test
😭