Skip to content

Commit

Permalink
chore: on push, run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Aug 12, 2024
1 parent f91e746 commit 138e2c6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 6 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: Check & fix styling

on: [push]
on:
push:
branches:
- main
- develop
- next
- release/*
pull_request:
branches:
- main
- develop
- next

jobs:
php-cs-fixer:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ name: Psalm

on:
push:
paths:
- '**.php'
- 'psalm.xml.dist'
branches:
- main
- develop
- next
- release/*
pull_request:
branches:
- main
- develop
- next

jobs:
psalm:
Expand All @@ -16,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: "8.0"
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none

Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: Tests

on: [push, pull_request]
on:
push:
branches:
- main
- develop
- next
- release/*
pull_request:
branches:
- main
- develop
- next

jobs:
test:
Expand Down

0 comments on commit 138e2c6

Please sign in to comment.