Merge pull request #591 from dxw/chore/migrate-to-php8.3 #1393
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
on: | |
- push | |
- pull_request | |
env: | |
PLUGIN_NAME: dxw-sec-api | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: shivammathur/setup-php@2.30.5 | |
with: | |
php-version: "8.2" | |
coverage: none | |
tools: composer | |
- name: Install dependencies | |
run: | | |
cd "wp-content/plugins/$PLUGIN_NAME" | |
composer --no-interaction install | |
- name: Run tests | |
run: | | |
cd "wp-content/plugins/$PLUGIN_NAME" | |
vendor/bin/kahlan --spec=specs |