Skip to content

Commit

Permalink
Enable tests on CI
Browse files Browse the repository at this point in the history
Reviewed-by: Alexandre Eher <alexandre.eher@werkspot.nl>
Signed-off-by: Jefersson Nathan <malukenho.dev@gmail.com>
  • Loading branch information
malukenho committed Mar 15, 2021
1 parent fab91a8 commit a3077ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand All @@ -22,3 +27,6 @@ jobs:

- name: Run code style checker
run: ./vendor/bin/phpcs

- name: Run tests
run: ./vendor/bin/phpunit
1 change: 0 additions & 1 deletion .xulieta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<xulieta xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/codelicia/xulieta/xulieta.xsd">
<validator>Codelicia\XulietaJson\JsonValidator</validator>
<validator>Codelicia\XulietaJson\JsonValidator</validator>
</xulieta>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
},
"require": {
"php": ">=7.4 || ~8.0"
"php": ">=7.4"
},
"require-dev": {
"codelicia/xulieta": "1.0.x-dev as 1.0.0",
Expand Down

0 comments on commit a3077ad

Please sign in to comment.