Skip to content

Commit

Permalink
Add PHP-Setup to behat CI
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Dec 26, 2023
1 parent 820f98e commit d8ebb15
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
wordpress-version: ['6.1', '6.2', '6.3', '6.4']
exclude:
- php-version: 7.4
wordpress-version: 6.2
- php-version: 7.4
wordpress-version: 6.3
- php-version: 7.4
wordpress-version: 6.4
- php-version: 8.3
wordpress-version: 6.1
- php-version: 8.3
Expand All @@ -38,5 +32,14 @@ jobs:
run: docker ps -a
- name: Check logs
run: docker compose logs openldap
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: phive
- name: install dependencies
run: composer install
- name: install tools
run: phive install --force-accept-unsigned behat/behat --copy
- name: run behat
run: docker compose exec wp bash -c "cd wp-content/plugins/authldap && ./tools/behat"

0 comments on commit d8ebb15

Please sign in to comment.