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
19 changes: 12 additions & 7 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
name: CI
name: Backend CI

on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
workflow_dispatch: ~

jobs:
cs-fix:
name: Run code style check
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
strategy:
matrix:
php:
- '8.1'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- 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: Unit tests
runs-on: "ubuntu-24.04"
runs-on: "ubuntu-26.04"
timeout-minutes: 15

strategy:
Expand All @@ -42,10 +46,11 @@ jobs:
- '8.4'

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

- 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
26 changes: 17 additions & 9 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: Solr integration tests
on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~

jobs:
solr-integration:
name: "Integration tests"
runs-on: "ubuntu-22.04"
runs-on: "ubuntu-26.04"
strategy:
fail-fast: false
matrix:
Expand All @@ -23,6 +22,14 @@ jobs:
- 'shared'
- 'single'
- 'cloud'
include:
# Solr 7.x uses the CMS garbage collector, removed in Java 14
- solr-version: '7.7.3'
java-version: '11'
- solr-version: '8.11.2'
java-version: '17'
- solr-version: '9.8.1'
java-version: '17'
env:
CORES_SETUP: ${{ matrix.cores-setup }}
SOLR_VERSION: ${{ matrix.solr-version }}
Expand All @@ -35,22 +42,23 @@ jobs:
name: "Set up single core"
run: echo "SOLR_CORES=collection1" >> $GITHUB_ENV

- uses: actions/checkout@v3

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
- uses: actions/checkout@v7

- name: Install Composer dependencies
uses: ibexa/gh-workflows/actions/composer-install@main
with:
php-version: '7.4'
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: Set up Java
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Init Solr
run: ./.github/init_solr.sh

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pr-assign.yaml

This file was deleted.