Skip to content

Commit

Permalink
Add continue-on-error to avoid failing for broken SOMs
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Mar 1, 2024
1 parent d4a8ab1 commit c80f71c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ jobs:
- name: Build SOM VM
if: ${{ matrix.som != 'spec' }}
continue-on-error: ${{ matrix.name == 'SOM++' || matrix.name == 'CSOM' || matrix.name == 'ykSOM' }}
run: |
export ST_DIR=`pwd`/Smalltalk
cd som-vm
Expand All @@ -149,6 +150,7 @@ jobs:
- name: Run Tests on SOM VM
if: ${{ matrix.som != 'spec' }}
continue-on-error: ${{ matrix.name == 'SOM++' || matrix.name == 'CSOM' || matrix.name == 'ykSOM' }}
run: |
cd som-vm
if [ "${{ matrix.som-tests }}" == "" ]
Expand All @@ -165,12 +167,14 @@ jobs:
# We currently test SomSom only on TruffleSOM
- name: Test SomSom on TruffleSOM
if: ${{ matrix.repo == 'TruffleSOM.git' }}
continue-on-error: ${{ matrix.name == 'SOM++' || matrix.name == 'CSOM' || matrix.name == 'ykSOM' }}
run: |
cd som-vm
${{ matrix.som }} -cp ../Smalltalk:../TestSuite:../SomSom/src/compiler:../SomSom/src/interpreter:../SomSom/src/primitives:../SomSom/src/vm:../SomSom/src/vmobjects ../SomSom/tests/SomSomTests.som
- name: Test Unit Test Benchmark
if: ${{ matrix.repo == 'som-java.git' }}
continue-on-error: ${{ matrix.name == 'SOM++' || matrix.name == 'CSOM' || matrix.name == 'ykSOM' }}
run: |
cd Examples/Benchmarks/TestSuite
./duplicate-tests.sh
Expand Down

0 comments on commit c80f71c

Please sign in to comment.