diff --git a/.github/workflows/runOnMoose.yml b/.github/workflows/runOnMoose.yml deleted file mode 100644 index 12609d2..0000000 --- a/.github/workflows/runOnMoose.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI/Moose - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the main branch - push: - branches: [ main ] - pull_request: - branches: [ main ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.0 - with: - access_token: ${{ github.token }} - - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - # depth 0 will download all the repository history - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - # Runs a single command using the runners shell - - name: Run on Moose - run: bash ./scripts/runOnMoose.sh diff --git a/README.md b/README.md index 5e121f6..a9f91ac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # HierarchicalVisualizations -[![CI/Pharo9](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runTests.yml/badge.svg)](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runTests.yml)[![CI/Moose9](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runOnMoose.yml/badge.svg)](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runOnMoose.yml) +[![CI/Pharo9](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runTests.yml/badge.svg)](https://github.com/ObjectProfile/HierarchicalVisualizations/actions/workflows/runTests.yml) This project provide a small API to build hierarchical visualization using the [Pharo](http://pharo.org) programming language. HierarchicalVisualizations uses [Roassal](https://github.com/ObjectProfile/Roassal3). diff --git a/scripts/runOnMoose.sh b/scripts/runOnMoose.sh deleted file mode 100644 index 70578bc..0000000 --- a/scripts/runOnMoose.sh +++ /dev/null @@ -1,22 +0,0 @@ -curl -L https://get.pharo.org/64/vm100 | bash -wget https://github.com/moosetechnology/Moose/releases/download/v10.x.x/Moose10-stable-Pharo64-10.zip -unzip Moose10-stable-Pharo64-10.zip - -./pharo --headless Moose10-stable-Pharo64-10.image ./scripts/runTests.st - -FILE=/tmp/result.txt -if [ ! -f "$FILE" ]; then - echo "ERROR: $FILE does not exists!" - exit 1 -fi - - -cat $FILE - -if grep -q ERROR "$FILE"; then - echo "SOME ERRORS!" - exit 1 -else - echo "ALL TEST PASSED" - exit 0 -fi diff --git a/scripts/runTests.sh b/scripts/runTests.sh deleted file mode 100644 index 4e4822d..0000000 --- a/scripts/runTests.sh +++ /dev/null @@ -1,19 +0,0 @@ -curl -L https://get.pharo.org/64/ | bash -./pharo --headless Pharo.image ./scripts/runTests.st - -FILE=/tmp/result.txt -if [ ! -f "$FILE" ]; then - echo "ERROR: $FILE does not exists!" - exit 1 -fi - - -cat $FILE - -if grep -q ERROR "$FILE"; then - echo "SOME ERRORS!" - exit 1 -else - echo "ALL TEST PASSED" - exit 0 -fi diff --git a/scripts/runTests.st b/scripts/runTests.st deleted file mode 100644 index b693d5f..0000000 --- a/scripts/runTests.st +++ /dev/null @@ -1,49 +0,0 @@ -| 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 << 'Loading: HierarchicalVisualizations'; crlf. - -[ -Metacello new - baseline: 'NumericScales'; - repository: 'github://pharo-graphics/NumericScales:v1.02'; - load. - -Metacello new - baseline: 'Roassal'; - repository: 'github://pharo-graphics/Roassal:v1.04b'; - load. - -Metacello new - baseline: 'HierarchicalVisualizations'; - repository: repoPath; - load -] on: MCMergeOrLoadWarning do: [ :warning | warning load ]. - -"We identify the unit tests contained in the loaded application" -unitTests := (TestCase withAllSubclasses - select: [ :cls | cls package name beginsWith: 'Hierarchical' ]) - sorted: [ :c1 :c2 | c1 name < c2 name ]. - -"We create a file that will contain the result of the test execution" -path := '/tmp/result.txt'. -path asFileReference exists ifTrue: [ path asFileReference delete ]. -stream := path asFileReference writeStream. - -"We run the unit tests" -unitTests do: [ :unitTestClass | - res := unitTestClass buildSuite run. - (res hasFailures or: [ res hasErrors ]) ifTrue: [ stream nextPutAll: 'ERROR: ' ]. - stream nextPutAll: unitTestClass name, ' ', res asString. - stream crlf -]. - -"We close the stream and quit Pharo" -stream close. -SmalltalkImage current quitPrimitive diff --git a/scripts/simpleExample.png b/scripts/simpleExample.png deleted file mode 100644 index e519279..0000000 Binary files a/scripts/simpleExample.png and /dev/null differ diff --git a/scripts/simpleExample02.png b/scripts/simpleExample02.png deleted file mode 100644 index 89c14ae..0000000 Binary files a/scripts/simpleExample02.png and /dev/null differ