Skip to content

Update .github/workflows/test.yml #222

Update .github/workflows/test.yml

Update .github/workflows/test.yml #222

Workflow file for this run

name: test
on:
push:
env:
LOG_LEVEL: debug
RENOVATE_VERSION: 37.74.3 # 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
- 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