Skip to content

Commit 9dec377

Browse files
Change timeout
1 parent 995bb9b commit 9dec377

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.github/workflows/CI.yml

+13-19
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: CI
33
on: [push]
44

55
permissions:
6-
contents: write
7-
pull-requests: write
8-
6+
contents: write
7+
pull-requests: write
8+
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
timeout-minute: 10000 # Very high timeout for label name testing
13+
1214
name: Python ${{ matrix.python-version }} sample with Postgres ${{ matrix.postgres-version }}
1315
strategy:
1416
matrix:
@@ -22,14 +24,7 @@ jobs:
2224
'pypy-3.9',
2325
'pypy-3.10',
2426
]
25-
postgres-version:
26-
[
27-
'13',
28-
'14',
29-
'15',
30-
'16',
31-
'17',
32-
]
27+
postgres-version: ['13', '14', '15', '16', '17']
3328
continue-on-error: true
3429
services:
3530
database:
@@ -75,19 +70,18 @@ jobs:
7570
# path: junit/test-results-${{ matrix.python-version }}.xml
7671
# if: ${{ always() }}
7772

78-
7973
merge:
8074
runs-on: ubuntu-latest
8175
needs: [test]
8276
if: github.actor == 'dependabot[bot]' # Detect that the PR author is dependabot
8377
steps:
84-
- uses: actions/checkout@v4
85-
- name: Enable auto-merge for Dependabot PRs
86-
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
87-
env:
88-
PR_URL: ${{github.event.pull_request.html_url}}
89-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
90-
78+
- uses: actions/checkout@v4
79+
- name: Enable auto-merge for Dependabot PRs
80+
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
81+
env:
82+
PR_URL: ${{github.event.pull_request.html_url}}
83+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
84+
9185
release:
9286
runs-on: ubuntu-latest
9387
if: "startsWith(github.ref, 'refs/tags/')"

0 commit comments

Comments
 (0)