2022-11-29 09:44:13 +01:00
|
|
|
---
|
2020-04-24 11:47:31 +02:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
clone:
|
2021-10-25 10:21:30 +00:00
|
|
|
depth: 150
|
2020-04-24 11:47:31 +02:00
|
|
|
|
|
|
|
steps:
|
2022-02-11 12:28:55 +01:00
|
|
|
- name: checks
|
2022-02-17 11:28:58 +01:00
|
|
|
image: nixery.dev/shell/git/libxml2/gnused/gnugrep/findutils/perl/file/mediainfo/curl:latest
|
2018-02-17 20:22:37 +01:00
|
|
|
commands:
|
2022-11-29 09:44:13 +01:00
|
|
|
# Check whether non-EN news item would appear on front-page
|
|
|
|
- bash tools/check-non-en-frontpage.sh news
|
|
|
|
# Run pre-commit checks
|
|
|
|
- bash tools/githooks/pre-commit ci-pr
|
|
|
|
# Check syntax for all files as a safety net
|
|
|
|
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
2021-10-25 10:21:30 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
2022-11-29 09:44:13 +01:00
|
|
|
- master
|
|
|
|
- test
|
2021-10-25 10:21:30 +00:00
|
|
|
event:
|
2022-11-29 09:44:13 +01:00
|
|
|
- push
|
|
|
|
- pull_request
|