-
Notifications
You must be signed in to change notification settings - Fork 36
35 lines (33 loc) · 1.04 KB
/
weekly-summary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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/*