Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
build-and-test:

runs-on: ubuntu-latest
strategy:
matrix:
deps:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally you'd want to add different PHP versions to this as well. I'll leave that out of scope for this PR though.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why there were no workflows triggered for this PR though, the file syntax seems ok and I don't see any errors in the actions tab.

- '--prefer-lowest'
- '--prefer-stable'

steps:
- name: Display Testing Details
Expand All @@ -57,7 +62,7 @@ jobs:
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress
run: composer update --prefer-dist --no-progress ${{ matrix.deps }}

- name: Run tests
run: make test branchName=${{env.TEST_DATA_BRANCH_NAME}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tests/data
.phpunit.result.cache
.vscode
cache
composer.lock
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ test-data:

.PHONY: test
test: test-data
./vendor/phpunit/phpunit/phpunit tests
./vendor/bin/phpunit tests
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@
"ext-json": "*",
"psr/simple-cache": "3.*",
"psr/log": "^2.0|^3.0",
"shrikeh/teapot": "^2.3",
"composer/semver": "^3.4",
"php-http/discovery": "^1.17",
"webclient/ext-redirect": "^2.0",
"symfony/cache": "^6.4|^7.0"
"symfony/cache": "^6.4|^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
Loading