summaryrefslogtreecommitdiffstats
path: root/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
commit19985dbb8c0aa66dc4bf7905abc1148de909097d (patch)
tree2cd5a5d20d7e80fc2a51adf60d838d8a2c40999e /vendor/guzzlehttp/psr7/.github/workflows/integration.yml
download1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.gz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.bz2
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.lz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.xz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.zst
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.zip
Diffstat (limited to 'vendor/guzzlehttp/psr7/.github/workflows/integration.yml')
-rw-r--r--vendor/guzzlehttp/psr7/.github/workflows/integration.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/guzzlehttp/psr7/.github/workflows/integration.yml b/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
new file mode 100644
index 0000000..5b49ddf
--- /dev/null
+++ b/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
@@ -0,0 +1,37 @@
+name: Integration
+
+on:
+ pull_request:
+
+jobs:
+
+ build:
+ name: Test
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 10
+ matrix:
+ php: ['7.2', '7.3', '7.4', '8.0']
+
+ steps:
+ - name: Set up PHP
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php }}
+ coverage: none
+
+ - name: Checkout code
+ uses: actions/checkout@v2
+
+ - name: Download dependencies
+ uses: ramsey/composer-install@v1
+ with:
+ composer-options: --no-interaction --prefer-dist --optimize-autoloader
+
+ - name: Start server
+ run: php -S 127.0.0.1:10002 tests/Integration/server.php &
+
+ - name: Run tests
+ env:
+ TEST_SERVER: 127.0.0.1:10002
+ run: ./vendor/bin/phpunit --testsuite Integration