Skip to content

Commit

Permalink
Merge pull request #13 from worksome/feature/pest-2.x
Browse files Browse the repository at this point in the history
feat: update to Pest 2.x
  • Loading branch information
owenvoke authored Mar 22, 2023
2 parents 3d95dd2 + 4b5208a commit 92418eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
php: ['8.2']
fail-fast: false
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
tools: composer:v2
tools: composer
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Composer dependencies
run: composer install --no-progress --no-suggest --prefer-dist --ignore-platform-reqs --optimize-autoloader
run: composer install --no-progress --prefer-dist --optimize-autoloader --ansi

- name: Run tests
run: composer test

- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"pestphp/pest": "^1.22.3",
"pestphp/pest": "^2.0",
"mockery/mockery": "^1.5.1",
"worksome/coding-style": "^2.3"
"worksome/coding-style": "^2.5"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
Expand Down
5 changes: 0 additions & 5 deletions tests/Helpers.php

This file was deleted.

0 comments on commit 92418eb

Please sign in to comment.