-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (43 loc) · 1.04 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
name: test
on:
push:
env:
LOG_LEVEL: debug
RENOVATE_VERSION: 37.126.1 # renovate: datasource=npm depName=renovate
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
file:
- default
- automergePatch
- automergeDigest
- fixes
# - meta -> soureUrl not valid
- shared
- groups
- replacements
- ng
- vo
env:
RENOVATE_CONFIG_FILE: ${{ matrix.file }}.json
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
show-progress: false
- name: testing ${{ matrix.file }}
run: npx -p renovate@${{env.RENOVATE_VERSION}} renovate-config-validator
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