Skip to content

Commit

Permalink
[CI]: Reuse PharoEnhancements Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris authored Jul 20, 2024
1 parent a570c36 commit 82028bb
Showing 1 changed file with 5 additions and 33 deletions.
38 changes: 5 additions & 33 deletions .github/workflows/runTests.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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

0 comments on commit 82028bb

Please sign in to comment.