Remove redundant sanity tests #150
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: Tests | |
on: [push, pull_request] | |
jobs: | |
php: | |
name: PHP ${{ matrix.php-versions }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-versions: | |
- '5.6' | |
- '7.4' | |
- '8.0' | |
- '8.1' | |
- '8.2' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: json | |
coverage: xdebug | |
- name: Install Composer dependencies | |
run: composer update -n | |
- name: Run Tests | |
run: | | |
export CLOUDINARY_URL=$(bash tools/get_test_cloud.sh); | |
echo cloud_name: "$(echo $CLOUDINARY_URL | cut -d'@' -f2)" | |
vendor/bin/simple-phpunit |