Changeset 13324
- Timestamp:
- 09/11/2022 06:22:23 PM (15 months ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/unit-tests.yml
r13314 r13324 33 33 34 34 - name: Checkout repository 35 uses: actions/checkout@v 235 uses: actions/checkout@v3 36 36 37 37 - name: Setup PHP … … 52 52 composer --version 53 53 54 - name: Validate Composer55 run: composer validate --strict56 57 54 - name: Install Composer dependencies 58 uses: ramsey/composer-install@v 155 uses: ramsey/composer-install@v2 59 56 with: 60 57 composer-options: "--ignore-platform-reqs" … … 88 85 89 86 - name: Running single site unit tests 87 if: ${{ success() || failure() }} 90 88 run: npm run test-php 91 if: ${{ success() || failure() }}92 89 93 90 - name: Running multi site unit tests 91 if: ${{ success() || failure() }} 94 92 run: npm run test-php-multisite 95 if: ${{ success() || failure() }}96 93 97 94 - name: Stop Docker environment 95 if: ${{ success() || failure() }} 98 96 run: npm run wp-env stop 99 if: ${{ success() || failure() }} -
trunk/.gitignore
r13314 r13324 24 24 npm-debug.log 25 25 26 .phpcs/*.json 27 26 28 # The build directory. 27 29 build -
trunk/composer.json
r13314 r13324 33 33 } 34 34 }, 35 "repositories": [ 36 { 37 "url": "https://github.com/buddypress/bp-coding-standards.git", 38 "type": "git" 39 } 40 ], 35 41 "require": { 36 42 "composer/installers": "^1.10.0", … … 38 44 }, 39 45 "require-dev": { 40 "phpcompatibility/phpcompatibility-wp": "^2.1.3", 41 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", 42 "squizlabs/php_codesniffer" : "^3.6.0", 43 "wp-coding-standards/wpcs": "~2.3.0", 46 "buddypress/bp-coding-standards": "dev-trunk", 44 47 "wp-phpunit/wp-phpunit": "^6.0", 45 48 "yoast/phpunit-polyfills": "^1.0.1" 46 49 }, 47 50 "scripts": { 48 "test": "@php ./vendor/phpunit/phpunit/phpunit" 51 "test": "@php ./vendor/phpunit/phpunit/phpunit", 52 "phpcs" : "@php ./vendor/bin/phpcs" 49 53 } 50 54 }
Note: See TracChangeset
for help on using the changeset viewer.