Skip to content

Commit c7578a6

Browse files
author
Johan Brichau
authored
Merge pull request #1351 from SeasideSt/codecov
Include test coverage on codecov
2 parents e094712 + b818659 commit c7578a6

File tree

10 files changed

+23
-5
lines changed

10 files changed

+23
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: smalltalkCI
33
on: [push, pull_request]
44

55
jobs:
6-
build:
6+
test:
77
runs-on: ubuntu-18.04
88
strategy:
99
fail-fast: false
@@ -26,6 +26,7 @@ jobs:
2626
- uses: hpi-swa/setup-smalltalkCI@v1
2727
with:
2828
smalltalk-image: ${{ matrix.smalltalk }}
29+
smalltalkCI-source: 'jbrichau/smalltalkCI'
2930
# - name: Setup tmate session
3031
# uses: mxschmitt/action-tmate@v3
3132
- name: Install Chrome
@@ -37,7 +38,12 @@ jobs:
3738
- name: Install selenium
3839
run: npm install selenium-standalone && npx selenium-standalone install && npx selenium-standalone start &
3940
- name: Run tests
40-
id: test_run
4141
run: smalltalkci -s ${{ matrix.smalltalk }}
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4244
shell: bash
43-
timeout-minutes: 20
45+
timeout-minutes: 20
46+
- name: Upload coverage to Codecov
47+
uses: codecov/codecov-action@v3
48+
with:
49+
name: ${{ matrix.smalltalk }}

.smalltalk.ston

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ SmalltalkCISpec {
3434
},
3535
#include : {
3636
#classes : [ #SentButNotImplementedTest , #UndefinedSymbolsTest ]
37-
}
37+
},
38+
#coverage : {
39+
#packages : [ 'Seaside*','JQuery*','Javascript*' ],
40+
#format: #lcov
41+
}
3842
}
3943
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,5 @@ Please check the [Wiki](https://github.com/SeasideSt/Seaside/wiki) for more info
138138

139139
## Status of automated builds
140140
[![smalltalkCI](https://github.com/SeasideSt/Seaside/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Seaside/actions/workflows/ci.yml) See https://github.com/SeasideSt/Seaside/actions/workflows/ci.yml
141+
142+
[![codecov](https://codecov.io/gh/SeasideSt/Seaside/branch/master/graph/badge.svg?token=GLPOkk0Wby)](https://codecov.io/gh/SeasideSt/Seaside)

repository/JQuery-Core.package/JQDeploymentLibrary.class/instance/jQueryJs.st

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

repository/JQuery-Core.package/JQDevelopmentLibrary.class/instance/jQueryJs.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
uploaded
22
jQueryJs
3+
<ignoreForCoverage>
34
^ '/*!
45
* jQuery JavaScript Library v3.6.0
56
* https://jquery.com/

repository/JQuery-UI.package/JQUiDeploymentLibrary.class/instance/jQueryUiJs.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
uploaded
22
jQueryUiJs
3+
<ignoreForCoverage>
34
^ '/*! jQuery UI - v1.13.2 - 2022-07-14
45
* http://jqueryui.com
56
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js

repository/JQuery-UI.package/JQUiDevelopmentLibrary.class/instance/jQueryUiJs.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
uploaded
22
jQueryUiJs
3+
<ignoreForCoverage>
34
^ '/*! jQuery UI - v1.13.2 - 2022-07-14
45
* http://jqueryui.com
56
* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js

repository/Seaside-Tests-Flow.package/WAFlowFunctionalTest.class/instance/goAnchors.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
actions
22
goAnchors
3-
3+
<ignoreForCoverage>
44
1 to: 5 do: [ :each |
55
| component |
66
component := WAComponent new.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
actions
22
goButtons
3+
<ignoreForCoverage>
34
1 to: 5 do: [ :each |
45
self inform: each greaseString, ': ', self stackDepth greaseString ]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
private
22
stackDepth
3+
<ignoreForCoverage>
34
^ GRPlatform current stackDepth

0 commit comments

Comments
 (0)