Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 2, 2022
1 parent c6a5f0e commit f07700d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ on:
push:
paths:
- "**.php"
- ".github/workflows/tests.yml"
- ".scrutinizer.yml"
branches:
- main
pull_request:
paths:
- "**.php"
- ".github/workflows/tests.yml"
- ".scrutinizer.yml"


name: "Unit tests"

Expand Down Expand Up @@ -40,6 +45,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Install PHP
uses: shivammathur/[email protected]
Expand Down
17 changes: 10 additions & 7 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
build:
environment:
php:
version: 8.1.12
ini:
xdebug.mode: off
pecl_extensions:
- pcov
image: default-bionic
nodes:
php81:
environment:
php:
version: 8.1
pecl_extensions:
- pcov
tests:
override:
- php-scrutinizer-run

filter:
paths:
Expand Down

0 comments on commit f07700d

Please sign in to comment.