From 10d6b3af528ee3acabebe0cfc300ae559c16b503 Mon Sep 17 00:00:00 2001 From: abrahamgreyson <82011220@qq.com> Date: Thu, 11 Jan 2024 01:57:46 +0800 Subject: [PATCH] ci: git ignore --- .github/workflows/run-tests.yml | 4 ++-- .gitignore | 1 - composer.json | 2 +- testbench.yaml | 5 +++++ 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 testbench.yaml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2a21df5..30e15b2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1] + php: [8.3, 8.2, 8.1] laravel: [9.*] stability: [prefer-lowest, prefer-stable] include: @@ -44,4 +44,4 @@ jobs: composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --ci diff --git a/.gitignore b/.gitignore index a185f75..d1b9996 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ coverage docs phpunit.xml phpstan.neon -testbench.yaml vendor node_modules .DS_Store diff --git a/composer.json b/composer.json index d24092d..365ac82 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "require-dev": { "laravel/pint": "^1.0", "nunomaduro/collision": "^6.0", - "nunomaduro/larastan": "^2.0.1", + "larastan/larastan": "^2.0.1", "orchestra/testbench": "^7.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", diff --git a/testbench.yaml b/testbench.yaml new file mode 100644 index 0000000..6125eeb --- /dev/null +++ b/testbench.yaml @@ -0,0 +1,5 @@ +providers: + - Abe\ChineseRegionsForLaravel\ChineseRegionsServiceProvider + +migrations: + - database/migrations