disable integration tests for PR workflows

This commit is contained in:
Fabio Ivona
2023-03-22 11:53:33 +01:00
parent 7a699e16db
commit d635665c1b
2 changed files with 41 additions and 3 deletions

41
.github/workflows/integration-tests.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: Tests
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
php: ['8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Setup Problem Matches
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install PHP dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
- name: Integration Tests
run: composer test:integration

View File

@ -43,6 +43,3 @@ jobs:
- name: Unit Tests in Parallel - name: Unit Tests in Parallel
run: composer test:parallel run: composer test:parallel
if: startsWith(matrix.os, 'windows') != true if: startsWith(matrix.os, 'windows') != true
- name: Integration Tests
run: composer test:integration