Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8544: Run on RHEL 9 #53

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
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
23 changes: 17 additions & 6 deletions .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ env:

jobs:
setup-jobs:
runs-on: ubuntu-latest
runs-on: rhel9
timeout-minutes: 1
outputs:
matrix: ${{ steps.generate-matrix.outputs.matrix }}
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:

browser-tests:
needs: setup-jobs
runs-on: ubuntu-latest
runs-on: rhel9
timeout-minutes: ${{ inputs.timeout }}
strategy:
fail-fast: false
Expand All @@ -153,10 +153,12 @@ jobs:
version: ${{ inputs.project-version }}

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
run: |
echo "Skip."
# uses: shivammathur/setup-php@v2
# with:
# php-version: 7.4
# coverage: none

- name: Cache dependencies
uses: actions/cache@v4
Expand Down Expand Up @@ -289,6 +291,15 @@ jobs:
cd ${HOME}/build/project
docker compose --env-file=.env exec -T --user www-data app sh -c "vendor/bin/ibexabehat --group-count=${{ needs.setup-jobs.outputs.job-count }} --group-offset=${{ matrix.offset }} ${{ inputs.test-suite }} --process=1"

- name: Stop compose
if: always()
run: |
cd ${HOME}/build/project
docker compose down
docker stop ibexa-solr-1 ibexa-selenium-1 ibexa-elasticsearch-1 ibexa-varnish-1 ibexa-redis-1 || true
docker rm ibexa-solr-1 ibexa-selenium-1 ibexa-elasticsearch-1 ibexa-varnish-1 ibexa-redis-1 || true
docker compose down

- if: always() && github.event_name != 'pull_request'
name: Create Slack message variables
run: |
Expand Down