From 82028bb05598c06f79e7feebc639853ca0003c8e Mon Sep 17 00:00:00 2001 From: Sean DeNigris Date: Sat, 20 Jul 2024 00:36:11 -0400 Subject: [PATCH] [CI]: Reuse PharoEnhancements Workflow --- .github/workflows/runTests.yaml | 38 +++++---------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/.github/workflows/runTests.yaml b/.github/workflows/runTests.yaml index 76ef674..5b0ad99 100644 --- a/.github/workflows/runTests.yaml +++ b/.github/workflows/runTests.yaml @@ -1,7 +1,3 @@ -## Adapted from: -## - Roassal3 - https://github.com/ObjectProfile/Roassal3/blob/36b92db2055501c87f2ccea5573fc83fb4916884/.github/workflows/runTests.yml -## - Willow-Playground - https://github.com/ba-st/Willow-Playground/blob/2898e1afbdd5a6011721e5a640225f81ae895de2/.github/workflows/build.yml0 - name: CI # Controls when the action will run. @@ -15,33 +11,9 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel +# Adapted from https://docs.github.com/en/actions/using-workflows/reusing-workflows jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - strategy: - matrix: - smalltalk: [ GToolkit64-release, Pharo64-10 ] - name: ${{ matrix.smalltalk }} - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - uses: hpi-swa/setup-smalltalkCI@v1 - with: - smalltalk-image: ${{ matrix.smalltalk }} - - name: Load Image and Run Tests - run: smalltalkci -s ${{ matrix.smalltalk }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - timeout-minutes: 15 -# - name: Upload coverage to Codecov -# uses: codecov/codecov-action@v1 -# with: -# name: ${{matrix.os}}-${{matrix.smalltalk}} -# token: ${{ secrets.CODECOV_TOKEN }} + test-and-release: + uses: seandenigris/Pharo-Enhancements/.github/workflows/ci_reusable.yaml@master + with: + project-name: ResourcesLive