mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: fix postgres skipper (#3157)
This commit is contained in:
@@ -69,7 +69,8 @@ jobs:
|
||||
- id: log
|
||||
run: |
|
||||
echo "${{ toJSON(needs) }}"
|
||||
echo "${{ contains(needs.pr-context.outputs.skips, 'postgres') }} "
|
||||
echo "${{ contains(needs.pr-context.outputs.skips, 'test/go/postgres') }} "
|
||||
echo "${{ contains(needs.pr-context.outputs.skips, 'test/e2e') }} "
|
||||
|
||||
pr-context:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -331,7 +332,7 @@ jobs:
|
||||
- pr-context
|
||||
if: >
|
||||
needs.changes.outputs.docs-only == 'false' &&
|
||||
contains(needs.pr-context.outputs.skips, github.job) == 'false'
|
||||
!contains(needs.pr-context.outputs.skips, 'test/go/postgres')
|
||||
runs-on: ubuntu-latest
|
||||
# This timeout must be greater than the timeout set by `go test` in
|
||||
# `make test-postgres` to ensure we receive a trace of running
|
||||
|
||||
Reference in New Issue
Block a user