Skip to content

Commit 35a3e68

Browse files
authored
Separate out Node nightly and latest tests into their own action. (#181)
These are known to fail. We don't want to remove them entirely, because the failures are legit and should be fixed. But we don't want the entire test suite to be red because of this one test.
1 parent 5709686 commit 35a3e68

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/unit-test-on-pull-request.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,20 +222,28 @@ jobs:
222222
esac
223223
support/run-tests.sh ${{ matrix.kernel }}
224224
interpreter-integration-tests:
225-
name: Interpreter integration
225+
name: Interpreter integration (${{ matrix.target_arch }}, ${{ matrix.test_type }})
226226
runs-on: ubuntu-24.04
227227
strategy:
228228
matrix:
229229
target_arch: [amd64, arm64]
230+
test_type: [stable, known-failing]
230231
steps:
231232
- name: Clone code
232233
uses: actions/checkout@v4
233234
- name: Set up environment
234235
uses: ./.github/workflows/env
235-
- name: Test interpreter integration
236+
- name: Test interpreter integration (stable tests)
237+
if: matrix.test_type == 'stable'
236238
run: |
237239
uname -a
238-
sudo go test ./interpreter/... -v -run TestIntegration
240+
sudo go test ./interpreter/... -v -run TestIntegration -skip "TestIntegration/(node-local-nightly|node-latest)"
241+
- name: Test interpreter integration (known failing tests)
242+
if: matrix.test_type == 'known-failing'
243+
continue-on-error: true
244+
run: |
245+
uname -a
246+
sudo go test ./interpreter/... -v -run "TestIntegration/(node-local-nightly|node-latest)"
239247
240248
distro-qemu-tests:
241249
name: Full distro QEMU tests (kernel ${{ matrix.kernel }})

0 commit comments

Comments
 (0)