Skip to content
Snippets Groups Projects
Commit 5da20dcb authored by Erick Hitter's avatar Erick Hitter
Browse files

Allow WP version customization per job

parent 46152bbe
Branches
Tags
1 merge request!5Revise test matrix
Checking pipeline status
...@@ -2,6 +2,7 @@ variables: ...@@ -2,6 +2,7 @@ variables:
# Configure mysql service (https://hub.docker.com/_/mysql/) # Configure mysql service (https://hub.docker.com/_/mysql/)
MYSQL_DATABASE: wordpress_tests MYSQL_DATABASE: wordpress_tests
MYSQL_ROOT_PASSWORD: mysql MYSQL_ROOT_PASSWORD: mysql
WP_VERSION: latest
cache: cache:
paths: paths:
...@@ -10,7 +11,7 @@ cache: ...@@ -10,7 +11,7 @@ cache:
before_script: before_script:
# Set up WordPress tests # Set up WordPress tests
- bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest true - bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql $WP_VERSION true
# PHPUnit # PHPUnit
- | - |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment