Skip to content

Commit

Permalink
Change timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin committed Oct 19, 2024
1 parent 995bb9b commit 9dec377
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: CI
on: [push]

permissions:
contents: write
pull-requests: write
contents: write
pull-requests: write

jobs:
test:
runs-on: ubuntu-latest
timeout-minute: 10000 # Very high timeout for label name testing

name: Python ${{ matrix.python-version }} sample with Postgres ${{ matrix.postgres-version }}
strategy:
matrix:
Expand All @@ -22,14 +24,7 @@ jobs:
'pypy-3.9',
'pypy-3.10',
]
postgres-version:
[
'13',
'14',
'15',
'16',
'17',
]
postgres-version: ['13', '14', '15', '16', '17']
continue-on-error: true
services:
database:
Expand Down Expand Up @@ -75,19 +70,18 @@ jobs:
# path: junit/test-results-${{ matrix.python-version }}.xml
# if: ${{ always() }}


merge:
runs-on: ubuntu-latest
needs: [test]
if: github.actor == 'dependabot[bot]' # Detect that the PR author is dependabot
steps:
- uses: actions/checkout@v4
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/checkout@v4
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

release:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
Expand Down

0 comments on commit 9dec377

Please sign in to comment.