From 5e9d445c79c6ab1a746fff13db66ad219539a8f5 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 22 Nov 2024 13:32:15 +0100 Subject: [PATCH 1/2] Update testing configuration --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a44330f..8c9ad59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,18 +7,17 @@ on: - cron: '0 6 * * 5' jobs: CI: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: zammad/zammad-ci:latest services: postgresql: - image: postgres:10 + image: postgres:17 env: POSTGRES_USER: zammad POSTGRES_PASSWORD: zammad redis: - # Use Redis 5 which is shipped in Debian 10. - image: redis:5 + image: redis:7 env: ZAMMAD_PHP_API_CLIENT_UNIT_TESTS_URL: "http://localhost:3000" ZAMMAD_PHP_API_CLIENT_UNIT_TESTS_USERNAME: "admin@example.com" From c622a676f589544512b3b8bbda00ae3056ce5744 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 22 Nov 2024 13:38:27 +0100 Subject: [PATCH 2/2] Only run for pushes to master --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c9ad59..2c1a567 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ name: CI on: push: + branches: [master] pull_request: schedule: # Run every on Friday to ensure everything works as expected.