Skip to content

Self Hosted Runner Ubuntu Testing #299

Self Hosted Runner Ubuntu Testing

Self Hosted Runner Ubuntu Testing #299

name: Self Hosted Runner Ubuntu Testing
on:
schedule:
# The VMs run at "0 17 * * 0-4" # sunday to thursday at 5 pm UTC, for Amsterdam it is +1 UTC during winter and +2 UTC during summer
- cron: "0 7 * * 1-5" # get the logs on monday to friday at 7 am UTC, for Amsterdam it is +1 UTC during winter and +2 UTC during summer
jobs:
full_test:
runs-on: [self-hosted, Linux]
strategy:
# Don't cancel all in-progress and queued jobs in the matrix if any job in the matrix fails
fail-fast: false
matrix:
version: ["18", "20", "22"]
steps:
- name: Execution of test-cases inside VM log
env:
VERSION: ${{ matrix.version }}
run: |
execution_log=$(ls -Art /home/ci/ci/ubuntu"$VERSION"/report/execution-*.log | tail -n 1)
echo -e "$execution_log\n"
cat "$execution_log"
continue-on-error: true
- name: Summary log
env:
VERSION: ${{ matrix.version }}
run: |
summary_log=$(ls -Art /home/ci/ci/ubuntu"$VERSION"/report/pytest-summary-*.log | tail -n 1)
echo -e "$summary_log\n"
cat "$summary_log"
continue-on-error: true
- name: Full report log
env:
VERSION: ${{ matrix.version }}
run: |
full_report_log=$(ls -Art /home/ci/ci/ubuntu"$VERSION"/report/unittest-full-*.log | tail -n 1)
echo -e "$full_report_log\n"
cat "$full_report_log"
continue-on-error: true