Skip to content

Commit

Permalink
Update test.yml to use common template
Browse files Browse the repository at this point in the history
  • Loading branch information
ClotildeToullec authored Aug 26, 2024
1 parent fbe281b commit b8cd530
Showing 1 changed file with 5 additions and 27 deletions.
32 changes: 5 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,8 @@ on:
types: [assigned, opened, synchronize, reopened]

jobs:

# Get the content of the file versions.json. It is interpreted as a json data in the next job.
get-versions:
uses: ./.github/workflows/get-versions.yml
with:
file-path: $GITHUB_WORKSPACE/.github/workflows/versions.json

# Run tests on pharo versions described in the file pharo-versions.json
build:
runs-on: ubuntu-latest
needs:
- get-versions
strategy:
fail-fast: false
matrix:
smalltalk: ${{ fromJSON(needs.get-versions.outputs.versions).pharo-versions }}
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Option fetching all commits
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
run:
uses: moosetechnology/.github/.github/workflows/run-tests.yml@main
secrets: inherit
with:
create-artifact: true

0 comments on commit b8cd530

Please sign in to comment.