Skip to content

Commit cea5129

Browse files
authored
Merge branch 'master' into group-distributions
2 parents 129703a + 7241240 commit cea5129

36 files changed

+20
-1704
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
env:
1919
PROJECT_NAME: PolyMath-${{ matrix.smalltalk }}
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- uses: hpi-swa/setup-smalltalkCI@v1
2323
with:
24-
smalltalk-version: ${{ matrix.smalltalk }}
24+
smalltalk-image: ${{ matrix.smalltalk }}
2525
- run: smalltalkci -s ${{ matrix.smalltalk }}
2626
shell: bash
27-
timeout-minutes: 15
27+
timeout-minutes: 15

.github/workflows/smalltalk-ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ name: CI
33
env:
44
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55

6-
on:
7-
push:
8-
branches:
9-
- '**'
10-
pull_request:
11-
types: [assigned, opened, synchronize, reopened]
6+
on: [ push, pull_request ]
127

138
jobs:
149
build:
@@ -20,10 +15,10 @@ jobs:
2015
smalltalk: [ Pharo64-9.0, Pharo64-10, Pharo64-11 ]
2116
name: ${{ matrix.smalltalk }}
2217
steps:
23-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
2419
- uses: hpi-swa/setup-smalltalkCI@v1
2520
with:
26-
smalltalk-version: ${{ matrix.smalltalk }}
21+
smalltalk-image: ${{ matrix.smalltalk }}
2722
- run: smalltalkci -s ${{ matrix.smalltalk }}
2823
shell: bash
29-
timeout-minutes: 15
24+
timeout-minutes: 15

.smalltalk.ston

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ SmalltalkCISpec {
77
}
88
],
99
#testing : {
10+
#include : {
11+
#packages : [ 'Math-.*' ]
12+
},
1013
#coverage : {
1114
#packages : [
1215
'Math-A*',

src/BaselineOfPolyMath/BaselineOfPolyMath.class.st

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ BaselineOfPolyMath >> baseline: spec [
2525
self
2626
sMark: spec;
2727
xmlWriter: spec;
28-
polyMathDataStructures: spec.
28+
polyMathDataStructures: spec;
29+
randomNumbers: spec.
2930

3031
spec
3132
package: 'ExtendedNumberParser';
@@ -65,7 +66,6 @@ BaselineOfPolyMath >> baseline: spec [
6566
package: 'Math-Quaternion'
6667
with:
6768
[ spec requires: #('Math-Complex' 'Math-Numerical' 'Math-Polynomials') ];
68-
package: 'Math-Random';
6969
package: 'Math-Series';
7070
package: 'Math-StatisticalMoments' with: [ spec requires: #('Math-Helpers' 'Math-Distributions') ];
7171
package: 'Math-TSNE';
@@ -102,8 +102,6 @@ BaselineOfPolyMath >> baseline: spec [
102102
with: [ spec requires: #('Math-Polynomials') ];
103103
package: 'Math-Tests-Quaternion'
104104
with: [ spec requires: #('Math-Quaternion') ];
105-
package: 'Math-Tests-Random'
106-
with: [ spec requires: #('Math-Random') ];
107105
package: 'Math-Tests-TSNE'
108106
with: [ spec requires: #('Math-TSNE') ];
109107
package: 'Math-UtilsDataServer'.
@@ -114,13 +112,13 @@ BaselineOfPolyMath >> baseline: spec [
114112
with: #('Math-Benchmarks-ODE' 'Math-Benchmarks-KDTree');
115113
group: 'Core'
116114
with:
117-
#('Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'Math-Random' 'Math-KDTree' 'Math-ODE' 'Math-ArbitraryPrecisionFloat' 'Math-FastFourierTransform' 'ExtendedNumberParser' 'Math-Quantile' 'Math-Physics-Constants' 'Math-Polynomials' 'Math-TSNE' 'Math-Core-Process' 'Math-Helpers' 'PolyMathDataStructures' 'Math-Distributions');
115+
#('Math-Complex' 'Math-Quaternion' 'Math-Numerical' 'MathRandomNumbers' 'Math-KDTree' 'Math-ODE' 'Math-ArbitraryPrecisionFloat' 'Math-FastFourierTransform' 'ExtendedNumberParser' 'Math-Quantile' 'Math-Physics-Constants' 'Math-Polynomials' 'Math-TSNE' 'Math-Core-Process' 'Math-Helpers' 'PolyMathDataStructures' 'Math-Distributions');
118116
group: 'Extensions'
119117
with:
120118
#('Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' 'Math-Permutation');
121119
group: 'Tests'
122120
with:
123-
#('Math-Tests-Clustering' 'Math-Tests-Numerical' 'Math-Tests-Complex' 'Math-Tests-Quaternion' 'Math-Tests-Random' 'Math-Tests-ODE' 'Math-Tests-KDTree' 'Math-Tests-FunctionFit' 'Math-Tests-AutomaticDifferenciation' 'Math-Tests-FastFourierTransform' 'Math-Tests-Accuracy' 'Math-Tests-ArbitraryPrecisionFloat' 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Distributions');
121+
#('Math-Tests-Clustering' 'Math-Tests-Numerical' 'Math-Tests-Complex' 'Math-Tests-Quaternion' 'Math-Tests-ODE' 'Math-Tests-KDTree' 'Math-Tests-FunctionFit' 'Math-Tests-AutomaticDifferenciation' 'Math-Tests-FastFourierTransform' 'Math-Tests-Accuracy' 'Math-Tests-ArbitraryPrecisionFloat' 'Math-Tests-Quantile' 'Math-Tests-Polynomials' 'Math-Tests-PrincipalComponentAnalysis' 'Math-Tests-Number-Extensions' 'Math-Tests-Permutation' 'Math-Tests-TSNE' 'Math-Tests-Core-Process' 'Math-Tests-Distributions');
124122
group: 'default'
125123
with: #('Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy') ].
126124

@@ -145,6 +143,12 @@ BaselineOfPolyMath >> projectClass [
145143
do: [ super projectClass ]
146144
]
147145

146+
{ #category : #dependencies }
147+
BaselineOfPolyMath >> randomNumbers: spec [
148+
149+
spec baseline: 'MathRandomNumbers' with: [ spec repository: 'github://PolyMathOrg/random-numbers:v1.x.x/src' ]
150+
]
151+
148152
{ #category : #dependencies }
149153
BaselineOfPolyMath >> sMark: spec [
150154

src/Math-Random/PMBernoulliGenerator.class.st

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

src/Math-Random/PMBinomialGenerator.class.st

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

src/Math-Random/PMCombinedRandomGenerator.class.st

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

src/Math-Random/PMConstantGenerator.class.st

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

0 commit comments

Comments
 (0)