File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [main, rc-**]
88 pull_request :
99 schedule :
10- - cron : ' 0 6 * * 1' # every monday
10+ - cron : " 0 6 * * 1" # every monday
1111
1212name : Package checks
1313
2020 uses : rstudio/shiny-workflows/.github/workflows/R-CMD-check.yaml@v1
2121 with :
2222 ubuntu : " ubuntu-20.04 ubuntu-latest"
23+ permessage-deflate-test :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v2
27+
28+ - name : Setup R
29+ uses : r-lib/actions/setup-r@v2
30+
31+ - name : Install R package dependencies
32+ uses : r-lib/actions/setup-r-dependencies@v2
33+
34+ - name : Install R package
35+ run : R CMD INSTALL .
36+
37+ - name : Setup Node.js
38+ uses : actions/setup-node@v2
39+ with :
40+ node-version : " 18"
41+
42+ - name : Install npm dependencies
43+ run : npm install
44+ working-directory : deflate-client
45+
46+ - name : Run npm tests
47+ run : npm test
48+ working-directory : deflate-client
Original file line number Diff line number Diff line change @@ -40,22 +40,22 @@ async function runTest(address, perMessageDeflate) {
4040
4141async function main ( ) {
4242 await sleep ( 1000 ) ;
43- await runTest ( "ws://127.0.0.1:9100 /" , false ) ;
44- await runTest ( "ws://127.0.0.1:9100 /" , true ) ;
45- await runTest ( "ws://127.0.0.1:9100 /" , { threshold : 0 } ) ;
46- await runTest ( "ws://127.0.0.1:9100 /" , { threshold : 0 , serverMaxWindowBits : 9 } ) ;
47- await runTest ( "ws://127.0.0.1:9100 /" , {
43+ await runTest ( "ws://127.0.0.1:14252 /" , false ) ;
44+ await runTest ( "ws://127.0.0.1:14252 /" , true ) ;
45+ await runTest ( "ws://127.0.0.1:14252 /" , { threshold : 0 } ) ;
46+ await runTest ( "ws://127.0.0.1:14252 /" , { threshold : 0 , serverMaxWindowBits : 9 } ) ;
47+ await runTest ( "ws://127.0.0.1:14252 /" , {
4848 threshold : 0 ,
4949 serverMaxWindowBits : 9 ,
5050 clientMaxWindowBits : 9
5151 } ) ;
52- await runTest ( "ws://127.0.0.1:9100 /" , {
52+ await runTest ( "ws://127.0.0.1:14252 /" , {
5353 threshold : 0 ,
5454 serverMaxWindowBits : 9 ,
5555 clientMaxWindowBits : 9 ,
5656 serverNoContextTakeover : true
5757 } ) ;
58- await runTest ( "ws://127.0.0.1:9100 /" , {
58+ await runTest ( "ws://127.0.0.1:14252 /" , {
5959 threshold : 0 ,
6060 serverMaxWindowBits : 9 ,
6161 clientMaxWindowBits : 9 ,
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ server <- list(
2525 }
2626)
2727
28- httpuv :: runServer(" 127.0.0.1" , 9100 , server )
28+ httpuv :: runServer(" 127.0.0.1" , 14252 , server )
You can’t perform that action at this time.
0 commit comments