11name : ' CI' 
22
33on :
4-   pull_request : # necessary to display "check" step in a PR
5-     types : [labeled] 
6-   workflow_dispatch : # manual trigger
4+   push :
5+     branches :
6+       - ' main' 
7+   pull_request :
8+     types : [opened, synchronize, reopened] 
79
810jobs :
911  test :
10-     if : github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.label.name == 'run-ci') 
1112    strategy :
12-       #  Default value means that a failure in one OS cancels all 
13-       fail-fast : false 
1413      matrix :
15-         smalltalk : [ Pharo64-11, Pharo64-12, Pharo64-13 ] 
16-         os : [ ubuntu-latest, macos-latest, windows-latest ] 
14+         smalltalk : [ Pharo64-11, Pharo64-12, Pharo64-13 ]  # Pharo versions
15+         os : [ ubuntu-latest, macos-latest, windows-latest ]  # OS versions
16+         ston : [ .smalltalkci.default.ston ]  # Can use multiple .ston files
1717    runs-on : ${{ matrix.os }} 
1818    name : ${{ matrix.smalltalk }} on ${{ matrix.os }} 
1919    steps :
@@ -24,18 +24,18 @@ jobs:
2424        uses : hpi-swa/setup-smalltalkCI@v1 
2525        with :
2626          smalltalk-image : ${{ matrix.smalltalk }} 
27-       - name : Load in New Image  and Run Tests  
28-         run : smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci.default. ston 
27+       - name : Load in new image  and run tests  
28+         run : smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix. ston }}  
2929        shell : bash 
30-         timeout-minutes : 10 
30+         timeout-minutes : 30 
3131        env :
3232          GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
3333      - name : Upload logs 
3434        if : ${{ failure() }} 
3535        uses : actions/upload-artifact@v4 
3636        with :
37-           name : Logs_${{ matrix.smalltalk }}_${{ matrix.os }} 
37+           name : Logs_${{ matrix.smalltalk }}_${{ matrix.os }}_${{ matrix.ston }}  
3838          path : | 
3939            *.fuel 
4040            PharoDebug.log 
41- retention-days : 3 
41+ retention-days : 5 
0 commit comments