Skip to content

Commit b4ba6ef

Browse files
authored
Merge pull request #70 from clue-labs/ci
Improve CI setup, lock OS versions, always show code coverage
2 parents 388ba8b + 8b4974f commit b4ba6ef

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66

77
jobs:
88
PHPUnit:
9+
name: PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }})
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
os:
13-
- ubuntu-latest
14-
- windows-latest
14+
- ubuntu-20.04
15+
- windows-2019
1516
php:
1617
- 8.1
1718
- 8.0
@@ -26,11 +27,11 @@ jobs:
2627
- 5.3
2728
steps:
2829
- uses: actions/checkout@v2
29-
- name: Setup PHP
30-
uses: shivammathur/setup-php@v2
30+
- uses: shivammathur/setup-php@v2
3131
with:
3232
php-version: ${{ matrix.php }}
3333
extensions: sockets
34+
coverage: xdebug
3435
- run: composer install
3536
- run: vendor/bin/phpunit --coverage-text
3637
if: ${{ matrix.php >= 7.3 }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clue/socket-raw
22

3-
[![CI status](https://github.com/clue/socket-raw/workflows/CI/badge.svg)](https://github.com/clue/socket-raw/actions)
3+
[![CI status](https://github.com/clue/socket-raw/actions/workflows/ci.yml/badge.svg)](https://github.com/clue/socket-raw/actions)
44
[![installs on Packagist](https://img.shields.io/packagist/dt/clue/socket-raw?color=blue&label=installs%20on%20Packagist)](https://packagist.org/packages/clue/socket-raw)
55

66
Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).

0 commit comments

Comments
 (0)