Add AssocValue flip and swap functions #104
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: tests | |
on: | |
push: { branches: [ master ] } | |
pull_request: ~ | |
jobs: | |
run: | |
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest ] | |
php-versions: [ '8.0', '8.1' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring | |
- name: Composer dependencies | |
run: composer install --no-progress --prefer-dist --optimize-autoloader | |
- name: "PHPSpec" | |
run: ./bin/phpspec run | |
- name: "PHPStan" | |
run: ./bin/phpstan analyze -l 8 src | |
- name: "PHPStan" | |
run: ./bin/phpstan analyze -l 9 tests/GenericCases examples | |
- name: "PHPUnit" | |
run: ./bin/phpunit tests | |
- name: "Psalm" | |
run: ./bin/psalm | |
- name: "CodeSniffer" | |
run: ./bin/phpcs |