Skip to content

Commit

Permalink
Merge branch 'master' into fix/testimonial/closing-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdurdin authored Oct 31, 2024
2 parents 600ddf7 + d345f11 commit f5fd3aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on:
on:
[pull_request]
jobs:

Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
set +e;
set +o pipefail;
npx broken-link-checker http://localhost:8053/_test --ordered --recursive --host-requests 50 -e --filter-level 3 | \
npx broken-link-checker http://localhost:8053/_test --ordered --recursive --host-requests 50 -e --filter-level 3 --exclude '*/donate' | \
grep -E "BROKEN|Getting links from" | \
grep -B 1 "BROKEN"
exit ${PIPESTATUS[0]}
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function test_docker_container() {
echo "---- Testing links ----"
set +e;
set +o pipefail;
npx broken-link-checker http://localhost:8053/_test --recursive --ordered ---host-requests 50 -e --filter-level 3 | \
npx broken-link-checker http://localhost:8053/_test --recursive --ordered ---host-requests 50 -e --filter-level 3 --exclude '*/donate' | \
grep -E "BROKEN|Getting links from" | \
grep -B 1 "BROKEN";

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"test": "vendor\\bin\\phpunit --testdox",
"check-links": [
"Composer\\Config::disableProcessTimeout",
"npx broken-link-checker http://keyman.com.localhost --ordered --recursive --host-requests 10 -e --filter-level 3"
"npx broken-link-checker http://keyman.com.localhost --ordered --recursive --host-requests 10 -e --filter-level 3 --exclude '*/donate'"
],
"check-docker-links": [
"Composer\\Config::disableProcessTimeout",
"npx broken-link-checker http://localhost:8053 --ordered --recursive --host-requests 10 -e --filter-level 3"
],
"npx broken-link-checker http://localhost:8053 --ordered --recursive --host-requests 10 -e --filter-level 3 --exclude '*/donate'"
],
"lint": "find . -name '*.php' | grep -v '/vendor/' | xargs -n 1 -d '\\n' php -l"
}
}

0 comments on commit f5fd3aa

Please sign in to comment.