Skip to content

Commit

Permalink
Merge pull request #246 from fortizpenaloza/upgrading-pharo-version
Browse files Browse the repository at this point in the history
Upgrading pharo version
  • Loading branch information
fortizpenaloza authored Aug 19, 2023
2 parents 0c8afb7 + 7bfca72 commit 72288e8
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 23 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/loading-groups.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: Group Loading

name: Baseline groups
on: [ push, pull_request, workflow_dispatch ]

jobs:
group-loading:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk: [ Pharo64-9.0 ]
load-spec: [ deployment, development]
smalltalk: [ Pharo64-11, Pharo64-10 ]
load-spec: [ deployment, tests, tools, development]
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Load group in image
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.loading.${{ matrix.load-spec }}.ston
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15
timeout-minutes: 15
8 changes: 3 additions & 5 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Markdown Lint

on: [ push, pull_request, workflow_dispatch ]

jobs:
remark-lint:
name: markdownlint
name: runner / markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: markdownlint
uses: reviewdog/action-markdownlint@v0.1
uses: reviewdog/action-markdownlint@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_error: true
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Shellcheck

on: [ push, pull_request ]

jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run Shellcheck
uses: reviewdog/action-shellcheck@v1
with:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Unit Tests

name: Pharo Unit Tests
on: [ push, pull_request, workflow_dispatch ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk: [ Pharo64-9.0 ]
smalltalk: [ Pharo64-11, Pharo64-10 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
Expand All @@ -20,7 +18,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
name: ${{ matrix.os }}-${{ matrix.smalltalk }}
name: Unit-Tests-${{ matrix.smalltalk }}
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
5 changes: 4 additions & 1 deletion .smalltalkci/.loading.development.ston
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ SmalltalkCISpec {
}
],
#testing : {
#failOnZeroTests : false
#coverage : {
#packages : [ 'Cosmos*' ],
#format: #lcov
}
}
}
16 changes: 16 additions & 0 deletions .smalltalkci/.loading.tests.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'Cosmos',
#directory : '../source',
#load : [ 'Tests' ],
#platforms : [ #pharo ]
}
],
#testing : {
#coverage : {
#packages : [ 'Cosmos*' ],
#format: #lcov
}
}
}
13 changes: 13 additions & 0 deletions .smalltalkci/.loading.tools.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'Cosmos',
#directory : '../source',
#load : [ 'Tools' ],
#platforms : [ #pharo ]
}
],
#testing : {
#failOnZeroTests : false
}
}

0 comments on commit 72288e8

Please sign in to comment.