Smoke tests, after completed Docker Image CI #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke tests, after completed Docker Image CI | |
on: | |
workflow_run: | |
workflows: ["Docker Image CI"] | |
branches: [wasm-main] | |
types: | |
- completed | |
jobs: | |
build: | |
runs-on: rnd201 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Git config | |
run: cd /home/runner/innoextract-wasm && git status && git switch tests && git pull | |
- name: Remove old logs from robot /output folder | |
if: always() | |
run: if [ -e /home/runner/build/output/log.html ]; then rm -r /home/runner/build/output/* ; else echo "File not found." ; fi | |
- name: Start robot tests | |
run: xvfb-run -n 56 -e /dev/stdout -s '-screen 0 1366x768x24' -f /home/runner/.Xauthority sh -c 'startlxde& /home/runner/innoextract-wasm/tests/scripts/run_test.sh' | |
- name: Run post test scripts | |
if: always() | |
run: /home/runner/innoextract-wasm/tests/scripts/run_post_test.sh $GITHUB_WORKFLOW ${{github.run_number}} |