From e280bf0a8b24a16a7c63af6a217941b3259d3f6e Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 20 Jan 2022 23:42:07 +0500 Subject: [PATCH 1/4] wip --- .github/workflows/ci.yml | 8 ++++++-- composer.json | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32a8cd1..ce11d67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,15 +13,19 @@ on: jobs: pest: - name: Tests (Pest) + name: Tests (Pest) L${{ matrix.laravel }} runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + laravel: [9, 8] steps: - uses: actions/checkout@v2 - name: Start docker containers run: docker-compose up -d - name: Install composer dependencies - run: composer install + run: require "illuminate/support:^${{ matrix.laravel }}.0" - name: Run tests run: vendor/bin/pest diff --git a/composer.json b/composer.json index 7affcf9..c395968 100644 --- a/composer.json +++ b/composer.json @@ -25,11 +25,11 @@ }, "require": { "php": "^8.0", - "illuminate/support": "^8.24", + "illuminate/support": "^8.0|^9.0", "archtechx/helpers": "*" }, "require-dev": { - "orchestra/testbench": "^6.9", + "orchestra/testbench": "^6.9|^7.0", "pestphp/pest": "^1.10", "phpstan/phpstan": "^0.12.92", "pestphp/pest-plugin-laravel": "^1.1", @@ -41,5 +41,7 @@ "ArchTech\\Money\\MoneyServiceProvider" ] } - } + }, + "minimum-stability": "dev", + "prefer-stable": true } From fda9ade4d815badbc6be9acfb5f4cbe567cb2cfd Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 20 Jan 2022 23:46:14 +0500 Subject: [PATCH 2/4] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce11d67..57ad645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Start docker containers run: docker-compose up -d - name: Install composer dependencies - run: require "illuminate/support:^${{ matrix.laravel }}.0" + run: composer require "illuminate/support:^${{ matrix.laravel }}.0" - name: Run tests run: vendor/bin/pest From 43fd8c873b9d5abf1940aedf71ab8a624f06c74c Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Thu, 20 Jan 2022 23:49:15 +0500 Subject: [PATCH 3/4] Update .github/workflows/ci.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Samuel Ć tancl --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57ad645..984b003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: true matrix: - laravel: [9, 8] + laravel: [8, 9] steps: - uses: actions/checkout@v2 From 02f3dddef00821b587302505f36e8407872920ef Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Fri, 21 Jan 2022 00:18:01 +0500 Subject: [PATCH 4/4] Update ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57ad645..c3695fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,6 @@ jobs: name: Tests (Pest) L${{ matrix.laravel }} runs-on: ubuntu-latest strategy: - fail-fast: true matrix: laravel: [9, 8]