diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95c5aafa..5c932b02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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