Fix tests to account for new data on sample TripPin service. #69
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] | |
jobs: | |
test: | |
name: PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Check PHP Version | |
run: php -v | |
- uses: php-actions/composer@v6 | |
with: | |
php_version: ${{ matrix.php-versions }} | |
- run: echo "Composer dependencies have been installed" | |
- name: Run Tests | |
run: vendor/bin/phpunit |