Remove curl_close() as it does nothing and is deprecated in PHP 8.5 (… #149
This file contains hidden or 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: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: [ '8.0', '8.3' ] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: ddev/github-action-setup-ddev@v1 | |
| with: | |
| autostart: false | |
| - name: Setup PHP Version | |
| run: ddev config --php-version ${{ matrix.php }} | |
| - name: Start ddev | |
| run: ddev start | |
| - name: Install dependencies | |
| run: ddev composer install | |
| - name: Run tests | |
| run: ddev exec phpunit --log-junit phpunit-results.xml |