File tree Expand file tree Collapse file tree 5 files changed +38
-29
lines changed
Expand file tree Collapse file tree 5 files changed +38
-29
lines changed Original file line number Diff line number Diff line change 11/.gitattributes export-ignore
2+ /.github /workflows / export-ignore
23/.gitignore export-ignore
3- /.travis.yml export-ignore
44/examples / export-ignore
55/phpunit.xml.dist export-ignore
66/tests / export-ignore
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ PHPUnit :
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ matrix :
12+ os :
13+ - ubuntu-20.04
14+ - windows-2019
15+ php :
16+ - 7.4
17+ - 7.3
18+ - 7.2
19+ - 7.1
20+ - 7.0
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : Setup PHP
24+ uses : shivammathur/setup-php@v2
25+ with :
26+ php-version : ${{ matrix.php }}
27+ extensions : zlib
28+ coverage : xdebug
29+ - run : composer install
30+ - run : vendor/bin/phpunit --coverage-text
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # clue/reactphp-zlib [ ![ Build Status] ( https://travis-ci.org/clue/reactphp-zlib.svg?branch=master )] ( https://travis-ci.org/clue/reactphp-zlib )
1+ # clue/reactphp-zlib
2+
3+ [ ![ CI status] ( https://github.com/clue/reactphp-zlib/workflows/CI/badge.svg )] ( https://github.com/clue/reactphp-zlib/actions )
24
35Streaming zlib compressor and decompressor for [ ReactPHP] ( https://reactphp.org/ ) ,
46supporting compression and decompression of GZIP, ZLIB and raw DEFLATE formats.
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ public function setUp()
1515
1616 public function testCompressEmpty ()
1717 {
18+ if (DIRECTORY_SEPARATOR === '\\' ) {
19+ $ this ->markTestSkipped ('Not supported on Windows ' );
20+ }
21+
1822 $ os = DIRECTORY_SEPARATOR === '\\' ? "\x0a" : "\x03" ; // NTFS(0x0a) or UNIX (0x03)
1923 $ this ->compressor ->on ('data ' , $ this ->expectCallableOnceWith ("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00" . $ os . "\x03\x00" . "\x00\x00\x00\x00\x00\x00\x00\x00" ));
2024 $ this ->compressor ->on ('end ' , $ this ->expectCallableOnce ());
You can’t perform that action at this time.
0 commit comments