From be37e3d7437b3d2c60635c4eb25c9e626287d56d Mon Sep 17 00:00:00 2001 From: Pierre Laborde Date: Wed, 13 Aug 2025 16:39:30 +0200 Subject: [PATCH 1/2] update readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b8cbae..1f6e2fc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ +[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download) +[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download) +[![Pharo 13](https://img.shields.io/badge/Pharo-13-%23aac9ff.svg)](https://pharo.org/download) + [![License](https://img.shields.io/github/license/OpenSmock/Toplo-Serialization.svg)](./LICENSE) -[![Pharo 11 CI](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/Pharo11CI.yml/badge.svg)](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/Pharo11CI.yml) -[![Pharo 12 CI](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/Pharo12CI.yml/badge.svg)](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/Pharo12CI.yml) +[![Unit tests](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/CI.yml/badge.svg)](https://github.com/OpenSmock/Toplo-Serialization/actions/workflows/CI.yml) # Toplo-Serialization Toplo serialization features to store/unstore ToElements. From c5de714db97b778ece493b57b96f2b69a09732ce Mon Sep 17 00:00:00 2001 From: Pierre Laborde Date: Wed, 13 Aug 2025 16:42:07 +0200 Subject: [PATCH 2/2] Add CI for Pharo 13 --- .github/workflows/{Pharo11CI.yml => CI.yml} | 62 +++++++++++--------- .github/workflows/Pharo12CI.yml | 29 --------- .smalltalk.ston => .smalltalkci.default.ston | 0 3 files changed, 33 insertions(+), 58 deletions(-) rename .github/workflows/{Pharo11CI.yml => CI.yml} (62%) delete mode 100644 .github/workflows/Pharo12CI.yml rename .smalltalk.ston => .smalltalkci.default.ston (100%) diff --git a/.github/workflows/Pharo11CI.yml b/.github/workflows/CI.yml similarity index 62% rename from .github/workflows/Pharo11CI.yml rename to .github/workflows/CI.yml index fca7fc0..1f0006b 100644 --- a/.github/workflows/Pharo11CI.yml +++ b/.github/workflows/CI.yml @@ -1,29 +1,33 @@ -name: 'Pharo 11 CI' - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -on: - push: - branches: - - 'main' - pull_request: - types: [assigned, opened, synchronize, reopened] - -jobs: - build: - strategy: - matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] - smalltalk: [ Pharo64-11 ] - runs-on: ${{ matrix.os }} - name: ${{ matrix.smalltalk }} on ${{ matrix.os }} - steps: - - uses: actions/checkout@v3 - - uses: hpi-swa/setup-smalltalkCI@v1 - with: - smalltalk-image: ${{ matrix.smalltalk }} - - name: Load in New Image and Run Tests - run: smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix.ston }} - shell: bash - timeout-minutes: 30 +name: 'CI' + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +on: + push: + branches: + - 'main' + pull_request: + types: [assigned, opened, synchronize, reopened] + +jobs: + test: + strategy: + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] + smalltalk: [ Pharo64-11, Pharo64-12, Pharo64-13 ] + ston: [ .smalltalkci.default.ston ] + runs-on: ${{ matrix.os }} + name: > + ${{ matrix.smalltalk }} • ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + + - uses: hpi-swa/setup-smalltalkCI@v1 + with: + smalltalk-image: ${{ matrix.smalltalk }} + + - name: Run ${{ matrix.ston == '.smalltalkci.default.ston' }} tests + run: smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix.ston }} + shell: bash + timeout-minutes: 30 \ No newline at end of file diff --git a/.github/workflows/Pharo12CI.yml b/.github/workflows/Pharo12CI.yml deleted file mode 100644 index 1c791b2..0000000 --- a/.github/workflows/Pharo12CI.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: 'Pharo 12 CI' - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -on: - push: - branches: - - 'main' - pull_request: - types: [assigned, opened, synchronize, reopened] - -jobs: - build: - strategy: - matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] - smalltalk: [ Pharo64-12 ] - runs-on: ${{ matrix.os }} - name: ${{ matrix.smalltalk }} on ${{ matrix.os }} - steps: - - uses: actions/checkout@v3 - - uses: hpi-swa/setup-smalltalkCI@v1 - with: - smalltalk-image: ${{ matrix.smalltalk }} - - name: Load in New Image and Run Tests - run: smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix.ston }} - shell: bash - timeout-minutes: 30 diff --git a/.smalltalk.ston b/.smalltalkci.default.ston similarity index 100% rename from .smalltalk.ston rename to .smalltalkci.default.ston