|
44 | 44 | run: |
|
45 | 45 | echo "${{ toJSON(steps.filter )}}"
|
46 | 46 |
|
47 |
| - check-enterprise-imports: |
48 |
| - name: check/enterprise-imports |
49 |
| - timeout-minutes: 5 |
50 |
| - runs-on: ubuntu-latest |
51 |
| - steps: |
52 |
| - - uses: actions/checkout@v3 |
53 |
| - - name: Check imports of enterprise code |
54 |
| - run: ./scripts/check_enterprise_imports.sh |
55 |
| - |
56 | 47 | gen:
|
57 | 48 | name: "style/gen"
|
58 | 49 | timeout-minutes: 8
|
@@ -156,47 +147,3 @@ jobs:
|
156 | 147 | token: ${{ secrets.CODECOV_TOKEN }}
|
157 | 148 | files: ./gotests.coverage
|
158 | 149 | flags: unittest-go-${{ matrix.os }}
|
159 |
| - |
160 |
| - test-go-postgres: |
161 |
| - name: "test/go/postgres" |
162 |
| - runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }} |
163 |
| - # This timeout must be greater than the timeout set by `go test` in |
164 |
| - # `make test-postgres` to ensure we receive a trace of running |
165 |
| - # goroutines. Setting this to the timeout +5m should work quite well |
166 |
| - # even if some of the preceding steps are slow. |
167 |
| - timeout-minutes: 25 |
168 |
| - steps: |
169 |
| - - uses: actions/checkout@v3 |
170 |
| - |
171 |
| - - uses: actions/setup-go@v3 |
172 |
| - with: |
173 |
| - cache: true |
174 |
| - go-version: "~1.19" |
175 |
| - |
176 |
| - - name: Install gotestsum |
177 |
| - uses: jaxxstorm/action-install-gh-release@v1.7.1 |
178 |
| - env: |
179 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
180 |
| - with: |
181 |
| - repo: gotestyourself/gotestsum |
182 |
| - tag: v1.8.2 |
183 |
| - |
184 |
| - - uses: hashicorp/setup-terraform@v2 |
185 |
| - with: |
186 |
| - terraform_version: 1.1.9 |
187 |
| - terraform_wrapper: false |
188 |
| - |
189 |
| - - name: Test with PostgreSQL Database |
190 |
| - run: make test-postgres |
191 |
| - |
192 |
| - - uses: codecov/codecov-action@v3 |
193 |
| - # This action has a tendency to error out unexpectedly, it has |
194 |
| - # the `fail_ci_if_error` option that defaults to `false`, but |
195 |
| - # that is no guarantee, see: |
196 |
| - # https://github.com/codecov/codecov-action/issues/788 |
197 |
| - continue-on-error: true |
198 |
| - if: github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork |
199 |
| - with: |
200 |
| - token: ${{ secrets.CODECOV_TOKEN }} |
201 |
| - files: ./gotests.coverage |
202 |
| - flags: unittest-go-postgres-${{ matrix.os }} |
0 commit comments