-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (44 loc) · 1.08 KB
/
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
name: test
on:
push:
env:
LOG_LEVEL: debug
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: ghcr.io/visualon/renovate:39.82.9
# github hosted runners are running as `1001:127` (ubuntu:docker)
options: -u 1001:0 --group-add 1001 --group-add 12021 --group-add 127
strategy:
matrix:
file:
- default
- automergePatch
- automergeDigest
- fixes
- meta
- shared
- groups
- replacements
- ng
- vo
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: testing ${{ matrix.file }}
run: renovate-config-validator ${{ matrix.file }}.json
test-success:
runs-on: ubuntu-latest
needs:
- test
timeout-minutes: 1
if: always()
steps:
- name: Fail for failed or cancelled tests
if: |
needs.test.result == 'failure' ||
needs.test.result == 'cancelled'
run: exit 1