Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Dec 26, 2023
1 parent 0b8c4c9 commit 54b1e6d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ jobs:
# operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-version: [ '7.4', '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

name: Test on PHP${{ matrix.php-version }} with WordPress ${{ matrix.wordpress_version }}
steps:
- uses: actions/checkout@v1
- name: Build the docker-compose stack
run: docker compose -e PHP_VERSION=${{ matrix.php-version }} -e WORDPRESS_VERSION=${{ matrix.wordpress-version }} -f docker-compose.yml up -d
run: docker compose build --build-arg PHP_VERSION=${{ matrix.php-version }} --build-arg WORDPRESS_VERSION=${{ matrix.wordpress-version }} wp
- name: run the stack
run: docker compose -f docker-compose.yml up -d
- name: Check running containers
run: docker ps -a
- name: Check logs
Expand Down

0 comments on commit 54b1e6d

Please sign in to comment.