FS_METHOD が ftpext の場合で FTP 接続に失敗した場合の処理を追加 #28
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: phpunit | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install NPM Scripts | |
run: npm install | |
- name: Install Composer Package | |
run: composer install | |
- name: Install @wordpress/env | |
run: npm install -g @wordpress/env | |
- name: Run @wordpress/env | |
run: npx wp-env start | |
# PHPUnitテスト実行 | |
- name: Run PHPUnit test. | |
run: npm run phpunit |