Skip to content

Commit

Permalink
Merge branch 'master' into group-distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Feb 24, 2023
2 parents 129703a + 7241240 commit cea5129
Show file tree
Hide file tree
Showing 36 changed files with 20 additions and 1,704 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
env:
PROJECT_NAME: PolyMath-${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
timeout-minutes: 15
13 changes: 4 additions & 9 deletions .github/workflows/smalltalk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ name: CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
branches:
- '**'
pull_request:
types: [assigned, opened, synchronize, reopened]
on: [ push, pull_request ]

jobs:
build:
Expand All @@ -20,10 +15,10 @@ jobs:
smalltalk: [ Pharo64-9.0, Pharo64-10, Pharo64-11 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
timeout-minutes: 15
3 changes: 3 additions & 0 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ SmalltalkCISpec {
}
],
#testing : {
#include : {
#packages : [ 'Math-.*' ]
},
#coverage : {
#packages : [
'Math-A*',
Expand Down
16 changes: 10 additions & 6 deletions src/BaselineOfPolyMath/BaselineOfPolyMath.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ BaselineOfPolyMath >> baseline: spec [
self
sMark: spec;
xmlWriter: spec;
polyMathDataStructures: spec.
polyMathDataStructures: spec;
randomNumbers: spec.

spec
package: 'ExtendedNumberParser';
Expand Down Expand Up @@ -65,7 +66,6 @@ BaselineOfPolyMath >> baseline: spec [
package: 'Math-Quaternion'
with:
[ spec requires: #('Math-Complex' 'Math-Numerical' 'Math-Polynomials') ];
package: 'Math-Random';
package: 'Math-Series';
package: 'Math-StatisticalMoments' with: [ spec requires: #('Math-Helpers' 'Math-Distributions') ];
package: 'Math-TSNE';
Expand Down Expand Up @@ -102,8 +102,6 @@ BaselineOfPolyMath >> baseline: spec [
with: [ spec requires: #('Math-Polynomials') ];
package: 'Math-Tests-Quaternion'
with: [ spec requires: #('Math-Quaternion') ];
package: 'Math-Tests-Random'
with: [ spec requires: #('Math-Random') ];
package: 'Math-Tests-TSNE'
with: [ spec requires: #('Math-TSNE') ];
package: 'Math-UtilsDataServer'.
Expand All @@ -114,13 +112,13 @@ BaselineOfPolyMath >> baseline: spec [
with: #('Math-Benchmarks-ODE' 'Math-Benchmarks-KDTree');
group: 'Core'
with:
#('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');
#('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');
group: 'Extensions'
with:
#('Math-Clustering' 'Math-Number-Extensions' 'Math-Chromosome' 'Math-PrincipalComponentAnalysis' 'Math-FunctionFit' 'Math-AutomaticDifferenciation' 'Math-Permutation');
group: 'Tests'
with:
#('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');
#('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');
group: 'default'
with: #('Core' 'Extensions' 'Tests' 'Benchmarks' 'Accuracy') ].

Expand All @@ -145,6 +143,12 @@ BaselineOfPolyMath >> projectClass [
do: [ super projectClass ]
]

{ #category : #dependencies }
BaselineOfPolyMath >> randomNumbers: spec [

spec baseline: 'MathRandomNumbers' with: [ spec repository: 'github://PolyMathOrg/random-numbers:v1.x.x/src' ]
]

{ #category : #dependencies }
BaselineOfPolyMath >> sMark: spec [

Expand Down
71 changes: 0 additions & 71 deletions src/Math-Random/PMBernoulliGenerator.class.st

This file was deleted.

51 changes: 0 additions & 51 deletions src/Math-Random/PMBinomialGenerator.class.st

This file was deleted.

75 changes: 0 additions & 75 deletions src/Math-Random/PMCombinedRandomGenerator.class.st

This file was deleted.

32 changes: 0 additions & 32 deletions src/Math-Random/PMConstantGenerator.class.st

This file was deleted.

Loading

0 comments on commit cea5129

Please sign in to comment.