Skip to content

Commit

Permalink
chore: update alchemy
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Nov 7, 2024
1 parent 0b0f095 commit d51811b
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Tests

on: ["push","pull_request"]

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["macos-latest","ubuntu-latest","windows-latest"]
php: ["8.3","8.2","8.1","8.0","7.4"]

name: PHP ${{ matrix.php }} - ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, zip
tools: composer:v2
coverage: xdebug

- name: Install PHP dependencies
run: composer update --no-interaction --no-progress

- name: Run Tests
run: composer run test -- --flags=coverage
1 change: 0 additions & 1 deletion alchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ lint:

actions:
run:
- lint
- tests
os:
- macos-latest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"require-dev": {
"pestphp/pest": "^1.21",
"leafs/alchemy": "dev-main",
"leafs/alchemy": "^2.1",
"friendsofphp/php-cs-fixer": "^3.64"
},
"config": {
Expand Down

0 comments on commit d51811b

Please sign in to comment.