Skip to content

Commit

Permalink
e2e: Add PHP 8.2 to another GitHub Actions (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Jul 28, 2023
1 parent ca2f08f commit 0411c70
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,24 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [
'7.4',
'8.0'
]
wp-versions: [
'WordPress#6.1.3',
'WordPress#6.2.2',
'WordPress'
]
name: PHP ${{ matrix.php-versions }} / ${{ matrix.wp-versions }} Test
include:
- php: '7.4'
wp: WordPress
- php: '7.4'
wp: WordPress#6.2.2
- php: '7.4'
wp: WordPress#6.1.3
- php: '8.0'
wp: WordPress
- php: '8.0'
wp: WordPress#6.2.2
- php: '8.0'
wp: WordPress#6.1.3
- php: '8.2'
wp: WordPress
- php: '8.2'
wp: WordPress#6.2.2
name: PHP ${{ matrix.php }} / ${{ matrix.wp }} Test
steps:
- uses: actions/checkout@v3

Expand All @@ -48,7 +56,7 @@ jobs:

- name: Install WordPress
run: |
WP_ENV_CORE=WordPress/${{ matrix.wp-versions }} WP_ENV_PHP_VERSION=${{ matrix.php-versions }} npm run wp-env start
WP_ENV_CORE=WordPress/${{ matrix.wp }} WP_ENV_PHP_VERSION=${{ matrix.php }} npm run wp-env start
npm run wp-env run cli wp core version
npm run wp-env run cli wp cli info
Expand Down

0 comments on commit 0411c70

Please sign in to comment.