File tree Expand file tree Collapse file tree 2 files changed +35
-2
lines changed
Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ on: [push, pull_request]
44
55jobs :
66
7- phpunit :
7+ linux :
8+ name : Test on Linux
89 runs-on : ubuntu-18.04
910 strategy :
1011 fail-fast : false
2223 - run : composer install --no-progress
2324 - run : php${{ matrix.php-version }} vendor/bin/phpunit
2425
26+ windows :
27+ name : Test on Windows
28+ defaults :
29+ run :
30+ shell : cmd
31+ runs-on : windows-latest
32+ strategy :
33+ fail-fast : false
34+ matrix :
35+ php-version : ['7.3', '7.4', '8.0', '8.1']
36+ arch : [x64]
37+ ts : [nts]
38+
39+ steps :
40+ - name : Setup PHP
41+ id : setup-php
42+ uses : cmb69/setup-php-sdk@v0.1
43+ with :
44+ version : ${{matrix.php-version}}
45+ arch : ${{matrix.arch}}
46+ ts : ${{matrix.ts}}
47+ - uses : actions/checkout@v2
48+ with :
49+ fetch-depth : 1
50+
51+ - run : php -v
52+ - run : echo extension=gmp>>C:\tools\php\php.ini
53+ - run : php -m
54+ - run : composer -V
55+ - run : composer install --no-progress
56+ - run : php vendor/bin/phpunit
57+
2558 code_coverage :
2659 name : Code Coverage
2760 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- # php-ethereum-address [ ![ Coverage Status ] ( https://coveralls.io/repos/github/ kornrunner/php-ethereum-address/badge.svg?branch=master )] ( https://coveralls.io/github/ kornrunner/php-ethereum-address?branch=master ) [ ![ Build status ] ( https://ci.appveyor.com/api/projects/status/rkuhlaiq8jckvo2e? svg=true )] ( https://ci.appveyor.com/project /kornrunner/php-ethereum-address ) [ ![ Latest Stable Version] ( https://poser.pugx.org/kornrunner/ethereum-address/v/stable )] ( https://packagist.org/packages/kornrunner/ethereum-address )
1+ # php-ethereum-address [ ![ Tests ] ( https://github.com/ kornrunner/php-ethereum-address/actions/workflows/tests.yml/ badge.svg?branch=master )] ( https://github.com/ kornrunner/php-ethereum-address/actions/workflows/tests.yml ) [ ![ Coverage Status ] ( https://coveralls.io/repos/github/kornrunner/php-ethereum-address/badge. svg?branch=master )] ( https://coveralls.io/github /kornrunner/php-ethereum-address?branch=master ) [ ![ Latest Stable Version] ( https://poser.pugx.org/kornrunner/ethereum-address/v/stable )] ( https://packagist.org/packages/kornrunner/ethereum-address )
22
33
44``` lang=bash
You can’t perform that action at this time.
0 commit comments