PoC: update the plugin to run after built-in primary auth wordpress filters so the plugin only handles 2fa #105
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: WordPress CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [8.1] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@86e1ccdd8ddc47bffc29bf667143f363a4cdfdbc | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: xdebug | |
- name: Composer install | |
run: composer install | |
- name: PHP tests | |
run: ./vendor/bin/phpunit --process-isolation tests |