Skip to content

Commit

Permalink
Merge pull request #52 from ba-st/dependent_sunit
Browse files Browse the repository at this point in the history
Add Dependent-SUnit-Extensions component
  • Loading branch information
gcotelli authored Jan 9, 2024
2 parents 34e9568 + 291f536 commit b2c9f3c
Show file tree
Hide file tree
Showing 16 changed files with 82 additions and 60 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/loading-groups.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: Baseline groups

on: [push,pull_request,workflow_dispatch]
on:
- push
- pull_request
- workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
load-spec: [ core, extended, deployment, tools, development]
smalltalk:
- Pharo64-8.0
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
load-spec:
- core
- extended
- deployment
- tools
- development
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/loading-gs64-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
matrix:
load-spec:
- Deployment
- Dependent-SUnit-Extensions
name: GS64 + ${{ matrix.load-spec }}
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Markdown Lint
on: [push,pull_request,workflow_dispatch]
on:
- push
- pull_request
- workflow_dispatch
jobs:
remark-lint:
name: runner / markdownlint
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release Notifications

on:
release:
types: [published]
on: workflow_dispatch

jobs:
notify:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: Unit Tests

on: [push,pull_request,workflow_dispatch]
on:
- push
- pull_request
- workflow_dispatch

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-8.0, Pharo64-9.0 ]
smalltalk:
- Pharo64-8.0
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2022 Buenos Aires Smalltalk Contributors
Copyright (c) 2017-2023 Buenos Aires Smalltalk Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@ loosely-coupled systems, where each can be easily accessed and has a
well-defined responsibility.

[![Unit Tests](https://github.com/ba-st/Kepler/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/unit-tests.yml/badge.svg)
[![GS64 - Unit Tests](https://github.com/ba-st/Kepler/actions/workflows/unit-tests-gs64.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/unit-tests-gs64.yml)
[![Coverage Status](https://codecov.io/github/ba-st/Kepler/coverage.svg?branch=release-candidate)](https://codecov.io/gh/ba-st/Kepler/branch/release-candidate)

[![Baseline Groups](https://github.com/ba-st/Kepler/actions/workflows/loading-groups.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/loading-groups.yml)
[![GS64 Components](https://github.com/ba-st/Kepler/actions/workflows/loading-gs64-components.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/loading-gs64-components.yml)
[![Markdown Lint](https://github.com/ba-st/Kepler/actions/workflows/markdown-lint.yml/badge.svg)](https://github.com/ba-st/Kepler/actions/workflows/markdown-lint.yml)

[![GitHub release](https://img.shields.io/github/release/ba-st/Kepler.svg)](https://github.com/ba-st/Kepler/releases/latest)

[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org)
[![Pharo 9.0](https://img.shields.io/badge/Pharo-9.0-informational)](https://pharo.org)
[![Pharo 10](https://img.shields.io/badge/Pharo-10-informational)](https://pharo.org)
[![Pharo 11](https://img.shields.io/badge/Pharo-11-informational)](https://pharo.org)

[![GS64 3.7.0](https://img.shields.io/badge/GS64-3.7.0-informational)](https://gemtalksystems.com/products/gs64/)

> *Name origin*: Mathematician and astronomer [Johannes Kepler](https://en.wikipedia.org/wiki/Johannes_Kepler)
> is best known for his laws of planetary motion that describes how planets move
> around the Sun.
Expand Down
19 changes: 19 additions & 0 deletions rowan/components/Dependent-SUnit-Extensions.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Dependent-SUnit-Extensions',
#condition : 'sunit',
#componentNames : [
'Deployment'
],
#packageNames : [
'Kepler-SUnit-Model'
],
#conditionalPackageMapSpecs : {
'gemstone' : {
'allusers' : {
#packageNameToPlatformPropertiesMap : {
'Kepler-SUnit-Model' : { 'symbolDictName' : 'Kepler' }
}
}
}
}
}
6 changes: 4 additions & 2 deletions rowan/components/Deployment.ston
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Deployment',
#preloadDoitName : 'scripts/deploymentPreLoad',
#postloadDoitName : 'scripts/deploymentPostLoad',
#projectNames : [ 'Chalten' ],
#postloadDoitName : 'scripts/declareDeploymentInterfaces',
#projectNames : [
'Chalten'
],
#componentNames : [ ],
#packageNames : [
'Kepler-GS64-Extensions',
Expand Down
8 changes: 3 additions & 5 deletions rowan/components/Tests.ston
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Tests',
#preloadDoitName : 'scripts/developmentPreLoad',
#postloadDoitName : 'scripts/developmentPostLoad',
#postloadDoitName : 'scripts/declareTestInterfaces',
#condition : 'tests',
#componentNames : [
'Deployment'
'Deployment',
'Dependent-SUnit-Extensions'
],
#packageNames : [
'Kepler-Notifications-Tests',
'Kepler-SUnit-Model',
'Kepler-System-Tests',
'Kepler-Time-Tests'
],
Expand All @@ -17,7 +16,6 @@ RwSimpleProjectLoadComponentV2 {
'allusers' : {
#packageNameToPlatformPropertiesMap : {
'Kepler-Notifications-Tests' : { 'symbolDictName' : 'Kepler' },
'Kepler-SUnit-Model' : { 'symbolDictName' : 'Kepler' },
'Kepler-System-Tests' : { 'symbolDictName' : 'Kepler' },
'Kepler-Time-Tests' : { 'symbolDictName' : 'Kepler' }
}
Expand Down
3 changes: 3 additions & 0 deletions rowan/components/scripts/declareDeploymentInterfaces.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
InstalledModuleRegistrationSystem registerInterfaces.
EventNotificationSystem registerInterfaces.
TimeSystem registerInterfaces
4 changes: 4 additions & 0 deletions rowan/components/scripts/declareTestInterfaces.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FixedCustomerManagementSystem registerInterfaces.
FixedCustomerSystem registerInterfaces.
SampleCustomerSystem registerInterfaces.
SampleProjectSystem registerInterfaces
13 changes: 0 additions & 13 deletions rowan/components/scripts/deploymentPostLoad.st

This file was deleted.

17 changes: 0 additions & 17 deletions rowan/components/scripts/developmentPostLoad.st

This file was deleted.

11 changes: 0 additions & 11 deletions rowan/components/scripts/developmentPreLoad.st

This file was deleted.

12 changes: 12 additions & 0 deletions rowan/specs/Kepler-Dependent-SUnit-Extensions.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RwLoadSpecificationV2 {
#specName: 'Kepler-Dependent-SUnit-Extensions',
#projectName : 'Kepler',
#diskUrl : 'Kepler',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Dependent-SUnit-Extensions'
],
#customConditionalAttributes : [
'sunit'
]
}

0 comments on commit b2c9f3c

Please sign in to comment.