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 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.