Remove phpseclib2_compat dependency #24
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 unit tests | |
on: | |
pull_request: | |
push: | |
jobs: | |
phpunit: | |
name: PHPUnit tests | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: | |
- ubuntu-latest | |
php-version: | |
- 7.4 | |
- 8.0 | |
- 8.1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
args: --prefer-dist --ansi --no-interaction --no-progress --no-suggest | |
- name: PHPUnit Tests | |
uses: php-actions/phpunit@v3 | |
with: | |
version: 9.6 | |
bootstrap: vendor/autoload.php | |
configuration: phpunit.xml | |
php_version: ${{ matrix.php-version }} | |
args: --testdox --colors=always --no-interaction --verbose |