File tree Expand file tree Collapse file tree 3 files changed +98
-19
lines changed Expand file tree Collapse file tree 3 files changed +98
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Acceptance
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test-7-2 :
7
+ runs-on : ubuntu-latest
8
+ name : Test PHP 7.2
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v2
12
+ - name : Set up PHP 7.2
13
+ uses : shivammathur/setup-php@v2
14
+ with :
15
+ php-version : ' 7.2'
16
+ - name : Composer
17
+ run : make install
18
+ - name : Test
19
+ run : make test
20
+
21
+ test-7-3 :
22
+ runs-on : ubuntu-latest
23
+ name : Test PHP 7.3
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v2
27
+ - name : Set up PHP 7.3
28
+ uses : shivammathur/setup-php@v2
29
+ with :
30
+ php-version : ' 7.3'
31
+ - name : Composer
32
+ run : make install
33
+ - name : Test
34
+ run : make test
35
+
36
+ test-7-4 :
37
+ runs-on : ubuntu-latest
38
+ name : Test PHP 7.4
39
+ steps :
40
+ - name : Checkout
41
+ uses : actions/checkout@v2
42
+ - name : Set up PHP 7.4
43
+ uses : shivammathur/setup-php@v2
44
+ with :
45
+ php-version : ' 7.4'
46
+ - name : Composer
47
+ run : make install
48
+ - name : Test
49
+ run : make test
50
+
51
+ test-8-0 :
52
+ runs-on : ubuntu-latest
53
+ name : Test PHP 8.0
54
+ steps :
55
+ - name : Checkout
56
+ uses : actions/checkout@v2
57
+ - name : Set up PHP 8.0
58
+ uses : shivammathur/setup-php@v2
59
+ with :
60
+ php-version : ' 8.0'
61
+ - name : Composer
62
+ run : make install
63
+ - name : Test
64
+ run : make test
65
+
66
+ cs-check :
67
+ runs-on : ubuntu-latest
68
+ name : Code standard
69
+ steps :
70
+ - name : Checkout
71
+ uses : actions/checkout@v2
72
+ - name : Set up PHP 8.0
73
+ uses : shivammathur/setup-php@v2
74
+ with :
75
+ php-version : ' 8.0'
76
+ - name : Composer
77
+ run : make install
78
+ - name : Code standard
79
+ run : make cs-check
80
+
81
+ coverage :
82
+ runs-on : ubuntu-latest
83
+ name : Code coverage
84
+ steps :
85
+ - name : Checkout
86
+ uses : actions/checkout@v2
87
+ - name : Set up PHP 8.0
88
+ uses : shivammathur/setup-php@v2
89
+ with :
90
+ php-version : ' 8.0'
91
+ extensions : xdebug
92
+ - name : Composer
93
+ run : make install
94
+ - name : Code coverage
95
+ env :
96
+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97
+ run : make coverage
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Websocket Client and Server for PHP
2
2
3
- [ ![ Build Status] ( https://travis-ci .com/Textalk/websocket-php. svg?branch=master )] ( https://travis-ci .com/Textalk/websocket-php )
3
+ [ ![ Build Status] ( https://github .com/Textalk/websocket-php/actions/workflows/acceptance.yml/badge. svg )] ( https://github .com/Textalk/websocket-php/actions )
4
4
[ ![ Coverage Status] ( https://coveralls.io/repos/github/Textalk/websocket-php/badge.svg?branch=master )] ( https://coveralls.io/github/Textalk/websocket-php )
5
5
6
6
This library contains WebSocket client and server for PHP.
You can’t perform that action at this time.
0 commit comments