Skip to content

Commit 9a3e74a

Browse files
add run TEST=1 and Check the results in CI
1 parent e4fcfb0 commit 9a3e74a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test-run.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
run: sh ${{ env.WORKING_DIRECTORY }}/tools/external_test.sh ${{ env.WORKING_DIRECTORY }} ${{ inputs.CallerPackage }} ${{ inputs.CallerRepository }} ${{ inputs.CallerCommit }}
8686
- name: Test ${{ matrix.arch }}
8787
working-directory: ${{ env.WORKING_DIRECTORY }}
88-
run: cd os && PATH=$PATH:~/.cargo/bin make ARCH=${{ matrix.arch }} run TEST=1
89-
timeout-minutes: 10
88+
run: cd os && (PATH=$PATH:~/.cargo/bin timeout 300 make ARCH=${{ matrix.arch }} run TEST=1 > output.log) || echo "qemu exited!"
89+
timeout-minutes: 6
90+
- name: check Testing output log
91+
run: grep "Usertests passed!" os/output.log
9092

0 commit comments

Comments
 (0)