summaryrefslogtreecommitdiff
path: root/vendor/chillerlan/php-qrcode/.github/workflows/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/chillerlan/php-qrcode/.github/workflows/tests.yml')
-rw-r--r--vendor/chillerlan/php-qrcode/.github/workflows/tests.yml27
1 files changed, 16 insertions, 11 deletions
diff --git a/vendor/chillerlan/php-qrcode/.github/workflows/tests.yml b/vendor/chillerlan/php-qrcode/.github/workflows/tests.yml
index 991e6503c..9b26bb201 100644
--- a/vendor/chillerlan/php-qrcode/.github/workflows/tests.yml
+++ b/vendor/chillerlan/php-qrcode/.github/workflows/tests.yml
@@ -2,8 +2,12 @@
# https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
on:
- - pull_request
- - push
+ push:
+ branches:
+ - v4.3.x
+ pull_request:
+ branches:
+ - v4.3.x
name: "Continuous Integration"
@@ -20,7 +24,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: "Install PHP"
uses: shivammathur/setup-php@v2
@@ -46,16 +50,19 @@ jobs:
matrix:
os:
- ubuntu-latest
-# - windows-latest
+ - windows-latest
php-version:
- - "7.2"
- - "7.3"
- "7.4"
- "8.0"
+ - "8.1"
steps:
+# - name: "Configure git to avoid issues with line endings"
+# if: matrix.os == 'windows-latest'
+# run: git config --global core.autocrlf false
+
- name: "Checkout"
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@v2
@@ -69,9 +76,7 @@ jobs:
run: composer update --no-ansi --no-interaction --no-progress --no-suggest
- name: "Run tests with phpunit"
- run: php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml
+ run: php vendor/bin/phpunit --configuration=phpunit.xml
- name: "Send code coverage report to Codecov.io"
- uses: codecov/codecov-action@v1
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
+ uses: codecov/codecov-action@v3