-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from audriga/rien-add-ci
Add CI
- Loading branch information
Showing
3 changed files
with
1,864 additions
and
0 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,26 @@ | ||
--- | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php-versions: [8.1] | ||
name: html2jsonld php ${{ matrix.php-versions }} unit tests | ||
steps: | ||
- name: Set up php${{ matrix.php-versions }} | ||
uses: shivammathur/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
- name: Checkout HTML2JSONLD-PHP | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: composer install | ||
- name: Run tests | ||
run: vendor/bin/phpunit tests/unit |
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,14 @@ | ||
# PHP CS Fixer files | ||
.php_cs.cache | ||
|
||
# PHP Unit cache files | ||
.phpunit.result.cache | ||
|
||
# Composer | ||
vendor/ | ||
|
||
# PHPStorm files | ||
.idea/ | ||
|
||
# Our build folders | ||
build/ |
Oops, something went wrong.