fix: graphql_description default value incorrect #241
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing Integration | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
paths: | |
- '**.php' | |
- '!docs/**' | |
jobs: | |
continuous_integration: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.0', '7.4' ] | |
wordpress: [ '6.1', '5.9' ] | |
acf_pro: [ true, false ] | |
acf_version: [ 5.12.4, 6.1.6 ] | |
include: | |
- php: '8.1' | |
wordpress: '6.1' | |
acf_pro: true | |
acf_version: '6.1.0-alpha1' | |
- php: '8.1' | |
wordpress: '6.1' | |
acf_pro: true | |
coverage: 1 | |
- php: '8.1' | |
wordpress: '5.9' | |
- php: '7.3' | |
wordpress: '5.9' | |
fail-fast: false | |
name: WordPress ${{ matrix.wordpress }}, PHP ${{ matrix.php }}, ACF ${{matrix.acf_version}}, ACF & ACF EXTENDED PRO ${{matrix.acf_pro}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# This is used in case the IP gets blocked by one of the services used to download the pro plugins | |
- name: 🔎 Check IP | |
run: curl https://api.ipify.org | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: json, mbstring, zip, unzip | |
- name: Install dependencies | |
run: composer install | |
- name: Copy environment files | |
run: | | |
cp .env.dist .env | |
cp .env.testing.dist .env.testing | |
- name: Build and run tests | |
env: | |
PHP_VERSION: ${{ matrix.php }} | |
WP_VERSION: ${{ matrix.wordpress }} | |
run: | | |
docker-compose build \ | |
--build-arg WP_VERSION=${{ matrix.wordpress }} \ | |
--build-arg PHP_VERSION=${{ matrix.php }} \ | |
--build-arg DOCKER_REGISTRY=ghcr.io/wp-graphql/ | |
docker-compose run \ | |
-e PHP_VERSION=${{ matrix.php }} \ | |
-e WP_VERSION=${{ matrix.wordpress }} \ | |
-e COVERAGE=${{ matrix.coverage }} \ | |
-e USING_XDEBUG=${{ matrix.coverage }} \ | |
-e DEBUG=${{ matrix.debug }} \ | |
-e SKIP_TESTS_CLEANUP=${{ matrix.coverage }} \ | |
-e ACF_PRO=${{matrix.acf_pro }} \ | |
-e ACF_LICENSE_KEY=${{secrets.ACF_LICENSE_KEY}} \ | |
-e ACF_VERSION=${{matrix.ACF_VERSION}} \ | |
-e ACF_EXTENDED_LICENSE_KEY=${{secrets.ACF_EXTENDED_LICENSE_KEY}} \ | |
testing | |
- name: Push Codecoverage to Coveralls.io | |
if: ${{ matrix.coverage == 1 }} | |
env: | |
COVERALLS_RUN_LOCALLY: 1 | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: vendor/bin/php-coveralls -v |