From b33f929b1cfb36b927fd53f56fb2704e04fe956d Mon Sep 17 00:00:00 2001 From: Megat Zulkhairi Megat Mukhtar Date: Sun, 10 Oct 2021 18:32:40 +0800 Subject: [PATCH] update --- .github/workflows/default.yml | 48 ----------------------------------- composer.json | 3 +-- 2 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 .github/workflows/default.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml deleted file mode 100644 index d3eee88..0000000 --- a/.github/workflows/default.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Run tests - -on: - push: - schedule: - - cron: '0 0 * * *' - -jobs: - php-tests: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - php: [7.4, 7.3, 7.2] - laravel: [7.*, 6.*] - dependency-version: [prefer-lowest, prefer-stable] - os: [ubuntu-latest, windows-latest] - include: - - laravel: 8.* - testbench: 6.* - - laravel: 7.* - testbench: 5.* - - laravel: 6.* - testbench: 4.* - exclude: - - laravel: 8.* - php: 7.2 - - name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} - - steps: - - name: Checkout code - uses: actions/checkout@v1 - - - name: Setup PHP - uses: shivammathur/setup-php@v1 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick - coverage: none - - - name: Install dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - - - name: Execute tests - run: ./vendor/bin/phpunit diff --git a/composer.json b/composer.json index 806f20d..2499776 100644 --- a/composer.json +++ b/composer.json @@ -44,6 +44,5 @@ "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true - }, - "minimum-stability": "stable" + } } \ No newline at end of file