Skip to content

Commit

Permalink
Merge pull request #361 from mesilov/360-add-win-platforms
Browse files Browse the repository at this point in the history
add windows platforms in unit-tests
  • Loading branch information
mesilov authored Jan 3, 2024
2 parents c8e5bc8 + 1a4278e commit bfc35a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
dependencies: [ highest ]

steps:
Expand All @@ -26,7 +25,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: mbstring
extensions: json, bcmath, curl, intl, mbstring
tools: composer:v2

- name: "Install lowest dependencies"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
tests:
name: "PHPUnit tests"

runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}

strategy:
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
dependencies: [ highest ]
operating-system: [ ubuntu-latest, windows-latest ]

steps:
- name: "Checkout"
Expand All @@ -29,6 +31,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: json, bcmath, curl, intl, mbstring

- name: "Install dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "8.1.* || 8.2.*",
"php": "8.1.* || 8.2.* || 8.3.*",
"ext-json": "*",
"ext-bcmath": "*",
"ext-curl": "*",
Expand Down

0 comments on commit bfc35a9

Please sign in to comment.