Darragh Elliott
9dd296c681
All checks were successful
continuous-integration/drone/pr Build is passing
35 lines
819 B
YAML
35 lines
819 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
clone:
|
|
depth: 150
|
|
|
|
steps:
|
|
- name: checks
|
|
image: debian:bookworm
|
|
commands:
|
|
- apt update
|
|
# Install required packages
|
|
- apt install --yes coreutils sed grep libxml2-utils git findutils perl-base file mediainfo curl
|
|
# 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 {} +
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
- test
|
|
event:
|
|
- push
|
|
- pull_request
|
|
---
|
|
kind: signature
|
|
hmac: 4c0dd0f272458d12234c72f66c4d420069591cac83819644df3c03a280102ded
|
|
|
|
...
|