Skip to content

Commit

Permalink
Merge pull request #165 from famoser/maintenance
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
famoser authored Feb 24, 2023
2 parents c0e57d0 + 2975da8 commit 3bdfc8e
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 321 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
# Fetch more than 1 commit so Scrutinizer can deduce where we are
fetch-depth: 2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: xdebug

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand Down Expand Up @@ -49,3 +58,7 @@ jobs:
wget -q -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v2.0.6/local-php-security-checker_2.0.6_linux_amd64
chmod +x local-php-security-checker
./local-php-security-checker
- name: Upload Scrutinizer coverage
run: |
wget -q -O ocular.phar https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml
6 changes: 5 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ build:
nodes:
analysis:
environment:
node: v14
node: v16
php: 7.4
project_setup:
override: true
tests:
Expand All @@ -17,3 +18,6 @@ checks:
filter:
paths: ["src/*"]
excluded_paths: ["src/Migrations/*"]

tools:
external_code_coverage: true
91 changes: 0 additions & 91 deletions .travis.yml

This file was deleted.

54 changes: 0 additions & 54 deletions appveyor.yml

This file was deleted.

Loading

0 comments on commit 3bdfc8e

Please sign in to comment.