From d248b358f6039b01a49740181785de280abe6254 Mon Sep 17 00:00:00 2001 From: Gabriel Cotelli Date: Fri, 4 Aug 2023 11:39:33 -0300 Subject: [PATCH] Add rowan metadata and activate CI action --- .github/workflows/unit-tests-gs64.yml | 15 +++++++++++++ rowan/components/README.md | 3 +++ .../SUnit-Dependent-Extensions.ston | 21 +++++++++++++++++++ rowan/components/Tests.ston | 12 +++++++++++ rowan/project.ston | 11 ++++++++++ rowan/projects/README.md | 3 +++ rowan/specs/Buoy-CI.ston | 17 +++++++++++++++ rowan/specs/README.md | 3 +++ source/.properties | 3 ++- 9 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/unit-tests-gs64.yml create mode 100644 rowan/components/README.md create mode 100644 rowan/components/SUnit-Dependent-Extensions.ston create mode 100644 rowan/components/Tests.ston create mode 100644 rowan/project.ston create mode 100644 rowan/projects/README.md create mode 100644 rowan/specs/Buoy-CI.ston create mode 100644 rowan/specs/README.md diff --git a/.github/workflows/unit-tests-gs64.yml b/.github/workflows/unit-tests-gs64.yml new file mode 100644 index 0000000..87d4f82 --- /dev/null +++ b/.github/workflows/unit-tests-gs64.yml @@ -0,0 +1,15 @@ +name: 'GS64 Unit Tests' + +on: [push,pull_request,workflow_dispatch] + +jobs: + unit-tests: + runs-on: ubuntu-latest + name: GS64 Unit Tests + steps: + - uses: actions/checkout@v3 + - name: Load Image and Run Tests + uses: ba-st-actions/gs64-ci@v1 + with: + project_name: 'Buoy' + run_tests: 'true' diff --git a/rowan/components/README.md b/rowan/components/README.md new file mode 100644 index 0000000..0b9ae0c --- /dev/null +++ b/rowan/components/README.md @@ -0,0 +1,3 @@ +# Components + +This directory contains component definitions for the project diff --git a/rowan/components/SUnit-Dependent-Extensions.ston b/rowan/components/SUnit-Dependent-Extensions.ston new file mode 100644 index 0000000..8118a2c --- /dev/null +++ b/rowan/components/SUnit-Dependent-Extensions.ston @@ -0,0 +1,21 @@ +RwSimpleProjectLoadComponentV2 { + #name : 'SUnit-Dependent-Extensions', + #condition : 'sunit', + #projectNames : [ ], + #componentNames : [ ], + #packageNames : [ + 'Buoy-SUnit-Model' + ], + #conditionalPackageMapSpecs : { + 'gemstone' : { + 'allusers' : { + #packageNameToPlatformPropertiesMap : { + 'Buoy-SUnit-Model' : { + 'symbolDictName' : 'Globals' + } + } + } + } + }, + #comment : 'Extensions to TestAsserter' +} diff --git a/rowan/components/Tests.ston b/rowan/components/Tests.ston new file mode 100644 index 0000000..33a8e82 --- /dev/null +++ b/rowan/components/Tests.ston @@ -0,0 +1,12 @@ +RwSimpleProjectLoadComponentV2 { + #name : 'Tests', + #condition : 'tests', + #projectNames : [ ], + #componentNames : [ + 'SUnit-Dependent-Extensions' + ], + #packageNames : [ + 'Buoy-SUnit-Tests' + ], + #comment : '' +} diff --git a/rowan/project.ston b/rowan/project.ston new file mode 100644 index 0000000..84414b9 --- /dev/null +++ b/rowan/project.ston @@ -0,0 +1,11 @@ +RwProjectSpecificationV2 { + #specName : 'project', + #projectSpecPath : 'rowan', + #componentsPath : 'rowan/components', + #packagesPath : 'source', + #projectsPath : 'rowan/projects', + #specsPath : 'rowan/specs', + #packageFormat : 'tonel', + #packageConvention : 'Rowan', + #comment : 'This project aims to complement Pharo and GS64 adding useful extensions.' +} diff --git a/rowan/projects/README.md b/rowan/projects/README.md new file mode 100644 index 0000000..cddb7cd --- /dev/null +++ b/rowan/projects/README.md @@ -0,0 +1,3 @@ +# Projects + +This directory contains loading specs for dependencies diff --git a/rowan/specs/Buoy-CI.ston b/rowan/specs/Buoy-CI.ston new file mode 100644 index 0000000..b9c0bfa --- /dev/null +++ b/rowan/specs/Buoy-CI.ston @@ -0,0 +1,17 @@ +RwLoadSpecificationV2 { + #specName: 'Buoy-CI', + #projectName : 'Buoy', + #diskUrl : '/opt/gemstone/projects/Buoy', + #projectSpecFile : 'rowan/project.ston', + #componentNames : [ + 'Tests' + ], + #platformProperties : { + 'gemstone' : { + 'allusers' : { + #defaultSymbolDictName : 'Buoy' + } + } + }, + #comment : 'Loading spec for the continuous integration setup' +} diff --git a/rowan/specs/README.md b/rowan/specs/README.md new file mode 100644 index 0000000..bc3c1a6 --- /dev/null +++ b/rowan/specs/README.md @@ -0,0 +1,3 @@ +# Specs + +This directory contains loading specs for this project diff --git a/source/.properties b/source/.properties index 53a5454..c97afea 100644 --- a/source/.properties +++ b/source/.properties @@ -1,3 +1,4 @@ { - #format : #tonel + #format : #tonel + #convention : 'Rowan' }