-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests: remove travis, add gh workflows
- Loading branch information
Christoph Singer
committed
Oct 24, 2023
1 parent
8058394
commit 1a7c7ac
Showing
2 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
php: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php: [7.4, 8.0, 8.1, 8.2] | ||
dependency-version: [prefer-lowest, prefer-stable] | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
coverage: xdebug | ||
|
||
- name: install dependencies | ||
run: composer update --${{ matrix.dependency-version }} | ||
|
||
- name: run tests | ||
run: php vendor/bin/phpunit |
This file was deleted.
Oops, something went wrong.