aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/jbroadway/urlify/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/jbroadway/urlify/.github/workflows/ci.yml')
-rw-r--r--vendor/jbroadway/urlify/.github/workflows/ci.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/vendor/jbroadway/urlify/.github/workflows/ci.yml b/vendor/jbroadway/urlify/.github/workflows/ci.yml
new file mode 100644
index 000000000..869334f57
--- /dev/null
+++ b/vendor/jbroadway/urlify/.github/workflows/ci.yml
@@ -0,0 +1,41 @@
+name: "Continuous Integration"
+
+on:
+ - push
+ - pull_request
+
+env:
+ COMPOSER_FLAGS: "--no-interaction --prefer-dist"
+
+jobs:
+ tests:
+ name: "CI"
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ php-version:
+ - "7.2"
+ - "7.3"
+ - "7.4"
+ - "8.0"
+
+ dependencies: [highest]
+
+ steps:
+ - name: "Checkout"
+ uses: "actions/checkout@v2"
+
+ - name: "Setup PHP"
+ uses: "shivammathur/setup-php@v2"
+ with:
+ coverage: "none"
+ php-version: "${{ matrix.php-version }}"
+
+ - name: "Install dependencies"
+ run: |
+ composer update ${{ env.COMPOSER_FLAGS }}
+
+ - name: "Run tests"
+ run: "composer exec phpunit -- --verbose"