-
Notifications
You must be signed in to change notification settings - Fork 301
54 lines (48 loc) · 1.29 KB
/
code-coverage-test.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Code Coverage Test
on:
pull_request: # Remove after testing
schedule:
- cron: "0 0 * * 6" # Every Saturday
concurrency:
group: code-coverage-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash --noprofile --norc -ueo pipefail {0}
permissions: {}
jobs:
build-rpms:
name: Bullseye Build RPMs
runs-on: [self-hosted, docker]
permissions:
statuses: write
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Build RPMs
uses: ./.github/actions/build-rpm
with:
distro: el8
covfn_disabled: false
functional-test:
name: Bullseye Functional Test
runs-on: [self-hosted, wolf]
permissions:
statuses: write
# https://github.com/EnricoMi/publish-unit-test-result-action#permissions
checks: write
pull-requests: write
timeout-minutes: 7200
needs: [build-rpms]
if: |
(!cancelled()) &&
(needs.build-rpms.result == 'success' ||
needs.build-rpms.result == 'skipped')
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Build RPMs
uses: ./.github/actions/functional-test
with:
distro: el8
tags: test_one_pool_vm