Skip to content

Commit

Permalink
Merge pull request #95 from jjgrainger/maintenance/update-test
Browse files Browse the repository at this point in the history
Update tests
  • Loading branch information
jjgrainger authored Oct 13, 2024
2 parents 865ddb1 + a0b90b3 commit 9d23c9f
Show file tree
Hide file tree
Showing 7 changed files with 617 additions and 626 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

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

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand All @@ -38,6 +38,8 @@ jobs:
run: composer run-script test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"php": ">=7.2"
},
"require-dev": {
"phpunit/phpunit": "8.*",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "3.*"
},
"autoload": {
Expand Down
Loading

0 comments on commit 9d23c9f

Please sign in to comment.