diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7f5a8de..3047d57 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,6 @@ name: Run Tests -on: - push: - pull_request: - schedule: - - cron: '0 0 * * *' +on: push jobs: php-tests: @@ -13,11 +9,13 @@ jobs: strategy: fail-fast: false matrix: - php: [7.4, 8.0] - laravel: [8.*, 7.*] + php: [7.4, 8.0, 8.1] + laravel: [9.*, 8.*, 7.*] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] include: + - laravel: 9.* + testbench: 7.* - laravel: 8.* laravel-constraint: ^8.18.1 - laravel: 8.* @@ -30,6 +28,13 @@ jobs: - php: 8.0 dependency-version: prefer-lowest additional-deps: '"mockery/mockery:>=1.3.3"' + exclude: + - php: 7.4 + laravel: 9.* + - php: 8.1 + laravel: 8.* + - php: 8.1 + laravel: 7.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -38,10 +43,10 @@ jobs: uses: actions/checkout@v1 - name: Setup PHP - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extension-csv: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Install dependencies diff --git a/composer.json b/composer.json index b79cf83..332a7aa 100644 --- a/composer.json +++ b/composer.json @@ -22,9 +22,9 @@ "email": "kontakt@visuellverstehen.de" }, "require": { - "php": "^7.4|^8.0", - "illuminate/support": "^7.0|^8.0", - "league/commonmark": "^1.5" + "php": "^7.0|^8.0", + "illuminate/support": "^7.0|^8.0|^9.0", + "league/commonmark": "^1.5|^2.0" }, "require-dev": { "orchestra/testbench": "^6.0",