Skip to content

Commit 895e239

Browse files
authored
Merge pull request #44 from gcotelli/allow_to_configure_error_handlers
Allow to configure error handlers in JRPCMessageProcessor
2 parents cceafbb + f6c6a1f commit 895e239

17 files changed

+279
-41
lines changed

.github/workflows/loading-groups.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Baseline Groups
2+
3+
on: [push,pull_request,workflow_dispatch]
4+
5+
jobs:
6+
group-loading:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
smalltalk: [ Pharo64-9.0, Pharo64-8.0 ]
12+
load-spec: [ client-deployment, server-deployment, http-transport, tcp-transport, server-logging ]
13+
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: hpi-swa/setup-smalltalkCI@v1
17+
with:
18+
smalltalk-image: ${{ matrix.smalltalk }}
19+
- name: Load group in image
20+
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.loading.${{ matrix.load-spec }}.ston
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
timeout-minutes: 15

.github/workflows/unit-tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Unit Tests
2+
3+
on: [push,pull_request,workflow_dispatch]
4+
5+
jobs:
6+
unit-tests:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
smalltalk: [ Pharo64-9.0, Pharo64-8.0, Pharo32-8.0, Pharo64-7.0, Pharo32-7.0 , Pharo32-6.1 ]
11+
name: ${{ matrix.smalltalk }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: hpi-swa/setup-smalltalkCI@v1
15+
with:
16+
smalltalk-image: ${{ matrix.smalltalk }}
17+
- name: Load Image and Run Tests
18+
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit-tests.ston
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
timeout-minutes: 15
22+
- name: Upload coverage to Codecov
23+
uses: codecov/codecov-action@v1
24+
with:
25+
name: ${{matrix.os}}-${{matrix.smalltalk}}
26+
token: ${{ secrets.CODECOV_TOKEN }}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'JRPC',
5+
#directory : '../src',
6+
#load : [ 'Client-Deployment' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'JRPC',
5+
#directory : '../src',
6+
#load : [ 'HTTP-Transport' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'JRPC',
5+
#directory : '../src',
6+
#load : [ 'Server-Deployment' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'JRPC',
5+
#directory : '../src',
6+
#load : [ 'Server-Logging' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'JRPC',
5+
#directory : '../src',
6+
#load : [ 'TCP-Transport' ],
7+
#platforms : [ #pharo ]
8+
}
9+
],
10+
#testing : {
11+
#failOnZeroTests : false
12+
}
13+
}

.smalltalk.ston renamed to .smalltalkci/.unit-tests.ston

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ SmalltalkCISpec {
22
#loading : [
33
SCIMetacelloLoadSpec {
44
#baseline : 'JRPC',
5-
#directory : 'src',
5+
#directory : '../src',
66
#load : [ 'CI' ],
7-
#platforms : [ #pharo ]
7+
#platforms : [ #pharo ]
88
}
99
],
1010
#testing : {
1111
#coverage : {
12-
#packages : [ 'JRPC-Client' , 'JRPC-Server*' , 'JRPC-Tests' ]
12+
#packages : [ 'JRPC-Client' , 'JRPC-Server*' , 'JRPC-Tests' ],
13+
#format: #lcov
1314
}
1415
}
1516
}

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2019 Julien Delplanque
3+
Copyright (c) 2018-2021 Julien Delplanque
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)