Weekly Summary #135
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
# Generate a weekly summary of test failures | |
name: Weekly Summary | |
on: | |
schedule: | |
# Run Monday mornings, but long enough after daily test run for results | |
- cron: 0 9 * * 1 | |
# be able to start this action manually from a actions tab when needed | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
weekly_summary: | |
name: Create weekly summary of test runs | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Clone repository | |
uses: actions/[email protected] | |
- name: Install pycurl | |
run: sudo apt-get install -y python3-pycurl | |
- name: Run weekly-summary script | |
run: | | |
PATH=./scripts/:$PATH \ | |
./scripts/weekly-summary --rebuild --flake-details \ | |
--artifacts=logs-daily-iso,logs-rhel9,logs-rhel8 \ | |
--archive-logs /var/tmp/kstest-archive/ | |
- name: Collect logs | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'weekly-logs-archive' | |
path: /var/tmp/kstest-archive/* |