X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 2 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,12 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
name: ${{ matrix.smalltalk }}
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
- name: Log date
run: echo "${{ steps.date.outputs.date }}"
- name: Set default run status
run: echo "::set-output name=last_run_status::default" > last_run_status
- name: Restore last run status
id: last_run
uses: actions/cache@v2
with:
path: |
last_run_status
key: ${{ github.run_id }}-${{ matrix.smalltalk }}-${{ steps.date.outputs.date }}
restore-keys: |
${{ github.run_id }}-${{ matrix.smalltalk }}-
- name: Set last run status
id: last_run_status
run: cat last_run_status
- uses: actions/checkout@v2
with:
ref: ${{ github.event.workflow_dispatch.ref }}
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Run tests
id: test_run
if: steps.last_run_status.outputs.last_run_status != 'success'
run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 20
- name: Save run status
if: steps.last_run_status.outputs.last_run_status != 'success'
run: echo "::set-output name=last_run_status::${{ steps.test_run.outcome }}" > last_run_status
timeout-minutes: 20
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baselines
baselinePharo: spec

spec
for: #'pharo6.x'
do: [ spec
Expand All @@ -25,7 +25,7 @@ baselinePharo: spec

spec
for: #(#'pharo6.x' #'pharo7.x' #'pharo8.x')
do: [
do: [
spec
package: 'Grease-Pharo40-Slime' with: [ spec requires: #('Grease-Core') ];
package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo40-Slime') ].
Expand All @@ -35,7 +35,7 @@ baselinePharo: spec

spec
for: #(#'pharo9.x')
do: [
do: [
spec
package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo90-Core') ];
package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ];
Expand All @@ -50,10 +50,10 @@ baselinePharo: spec
spec
group: 'Slime' with: #('Grease-Pharo90-Slime');
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].

spec
for: #(#'pharo10.x')
do: [
for: #(#'pharo10.x' #'pharo11.x')
do: [
spec
package: 'Grease-Core' with: [ spec includes: #('Grease-Pharo100-Core') ];
package: 'Grease-Tests-Pharo-Core' with: [ spec requires: #('Grease-Tests-Core') ];
Expand All @@ -67,4 +67,4 @@ baselinePharo: spec

spec
group: 'Slime' with: #('Grease-Pharo90-Slime');
group: 'Slime Tests' with: #('Grease-Tests-Slime') ].
group: 'Slime Tests' with: #('Grease-Tests-Slime') ]
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SystemOrganization addCategory: #BaselineOfGrease!
SystemOrganization addCategory: #'BaselineOfGrease-Manifest'!
X Tutup