Merge pull request #423 from KorvinSzanto/feature/cache-2-and-3 #58
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: CI | |
on: [push, pull_request] | |
env: | |
IS_GITHUB: "true" | |
jobs: | |
phpunit: | |
strategy: | |
fail-fast: false | |
matrix: | |
php_version: ["8.0", "8.1", "latest"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Start Redis on Default Port | |
uses: supercharge/redis-github-action@1.4.0 | |
with: | |
redis-port: 6379 | |
# - name: Start 2nd Redis Server on 6380 | |
# uses: supercharge/redis-github-action@1.4.0 | |
# with: | |
# redis-port: 6380 | |
# These are the versions of the *actions*, not the libraries. | |
- name: Install PHP Packages | |
uses: php-actions/composer@v5 | |
- name: Run Tests | |
uses: php-actions/phpunit@v3 | |
with: | |
version: 9.6.16 | |
php_version: ${{ matrix.php_version }} |