Skip to content

Commit

Permalink
Update runTests.st
Browse files Browse the repository at this point in the history
  • Loading branch information
akevalion authored Oct 19, 2023
1 parent 3d256e5 commit 95a89ea
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions scripts/runTests.st
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
| env cout repoPath unitTests path stream res |
"We load the application software analyzer"


env := Smalltalk os environment.

cout := Stdio stdout.
repoPath := 'gitlocal://', (env at: 'GITHUB_WORKSPACE').
cout << '>>> Clonning from: '; << repoPath; crlf.

cout << '>>> Clonning from: '.

#(Roassal3 Numeric) do: [:string |
regExp := '*', string ,'*'.
packages := RPackageOrganizer default packages
select: [ :each | regExp match: each name ].
packages do: [ :each | each removeFromSystem ].
].
cout << 'Loading: HierarchicalVisualizations' crlf.

[
Metacello new
baseline: 'NumericScales';
repository: 'github://pharo-graphics/NumericScales/src';
load.

Metacello new
baseline: 'Roassal';
repository: 'github://pharo-graphics/Roassal';
load.

Metacello new
baseline: 'HierarchicalVisualizations';
repository: repoPath;
load. ] on: MCMergeOrLoadWarning do: [ :warning | warning load ].
load
] on: MCMergeOrLoadWarning do: [ :warning | warning load ].

"We identify the unit tests contained in the loaded application"
unitTests := (TestCase withAllSubclasses
Expand Down

0 comments on commit 95a89ea

Please sign in to comment.