Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: CI
name: Backend CI

on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
workflow_dispatch:
Expand All @@ -17,29 +16,33 @@ on:
jobs:
cs-fix:
name: Run code style check
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
strategy:
matrix:
php:
- '8.0'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: ibexa/gh-workflows/actions/setup-composer-root-version@main

- uses: ibexa/gh-workflows/actions/composer-install@main
with:
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}

- name: Run code style check
run: composer run-script check-cs -- --format=checkstyle | cs2pr
shell: bash
run: |
set -euo pipefail
composer run-script check-cs -- --format=checkstyle | cs2pr

tests:
name: Tests
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
timeout-minutes: 10

strategy:
Expand All @@ -51,12 +54,13 @@ jobs:
- '8.4'

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: ibexa/gh-workflows/actions/setup-composer-root-version@main

- uses: ibexa/gh-workflows/actions/composer-install@main
with:
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
Expand Down Expand Up @@ -88,7 +92,7 @@ jobs:
--health-timeout 5s
--health-retries 5
--tmpfs /var/lib/postgresql/data
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
timeout-minutes: 20

strategy:
Expand All @@ -99,12 +103,13 @@ jobs:
- '8.4'

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: ibexa/gh-workflows/actions/setup-composer-root-version@main

- uses: ibexa/gh-workflows/actions/composer-install@main
with:
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
Expand Down Expand Up @@ -139,7 +144,7 @@ jobs:
--health-timeout=5s
--health-retries=5
--tmpfs=/var/lib/mysql
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
timeout-minutes: 20

strategy:
Expand All @@ -151,12 +156,13 @@ jobs:
- '8.4'

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: ibexa/gh-workflows/actions/setup-composer-root-version@main

- uses: ibexa/gh-workflows/actions/composer-install@main
with:
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
Expand All @@ -175,7 +181,7 @@ jobs:
name: Notify Slack
needs: [cs-fix, tests, integration-tests-postgres, integration-tests-mysql]
if: always() && github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
runs-on: "ubuntu-26.04"
steps:
- name: Determine overall result
id: result
Expand All @@ -199,7 +205,7 @@ jobs:

- name: Send Slack notification
if: steps.result.outputs.state == 'failure' || inputs.send-success-notification
uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
with:
webhook: ${{ secrets.SLACK_PHP_BACKEND_CI_WEBHOOK_URL }}
webhook-type: incoming-webhook
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/browser-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Browser tests
on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ name: Frontend build
on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~

jobs:
frontend-test:
name: Frontend build test
runs-on: 'ubuntu-24.04'
runs-on: 'ubuntu-26.04'
timeout-minutes: 5

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: '18'
- run: yarn install
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pr-assign.yaml

This file was deleted.