From e42fa8351ece82ed5f08af44bf8403faf88fd148 Mon Sep 17 00:00:00 2001 From: Trebor-Huang <2300936257@qq.com> Date: Sun, 31 Oct 2021 23:35:12 +0800 Subject: [PATCH] Can't get xvfb to return the correct value? --- .github/actions/automatic-test/action.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/actions/automatic-test/action.yml b/.github/actions/automatic-test/action.yml index 11a6c8d2..4b5326cb 100644 --- a/.github/actions/automatic-test/action.yml +++ b/.github/actions/automatic-test/action.yml @@ -21,16 +21,4 @@ runs: uses: GabrielBB/xvfb-action@v1 with: run: | - if [ ./dest/love Techmino.love --test ]; then - echo "Passed" > .github/workflows/automatic-test/result.txt - else - exit 1 # xvfb seems to return 0 even if the test failed - fi - - name: Finish - shell: bash - run: | - if [ -f .github/workflows/automatic-test/result.txt ]; then - exit 0 - else - exit 1 - fi \ No newline at end of file + ./dest/love Techmino.love --test \ No newline at end of file