1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-21 20:30:10 +01:00

22 Commits

Author SHA1 Message Date
Mike Linksvayer
be0ffed9e8
Ignore testing of opensource.org which fails only in CI
eg https://github.com/github/choosealicense.com/runs/8026421690?check_suite_focus=true
2022-09-05 13:54:12 -07:00
Mike Linksvayer
15237620db
don't test help.github.com links
They work, unclear why failing in CI
2022-06-12 16:56:51 -07:00
Mike Linksvayer
2d8591605c don't test edit link links 2019-02-15 13:58:25 -08:00
Mike Linksvayer
260bae00d9 Revert "Revert "require https for external links""
This reverts commit af5f80ddfd845de5cf59cfe5594953e84641990b.

New release of pages gem should allow this to work.
2019-01-29 09:39:47 -08:00
Mike Linksvayer
da8b1d2194 Throttle concurrency of html link checker
spdx.org obtains 503 if too many connections opened, it seems eg
https://travis-ci.org/github/choosealicense.com/builds/439831256

Problem goes away locally when html-proofer/typhoeus/hydra default
changed from 200 to 10
2018-10-19 11:55:08 +02:00
Mike Linksvayer
75c05d717c mindlessly satisfy rubocop 0.48 2017-03-26 17:19:44 -07:00
Mike Linksvayer
f08ace3feb make rubocop ruby version match pages ruby version 2017-01-18 13:31:19 -08:00
Mike Linksvayer
8360759d87 https in config/test strip, maybe no functional difference 2017-01-18 11:58:54 -08:00
Brandon Keepers
db878ed8f9
Check images for consistent use of http/https 2017-01-17 11:59:22 -08:00
Mike Linksvayer
98355c7571 upgrade to html-proofer 3 2016-03-17 17:30:47 -07:00
Ben Balter
91b6c8728e add rubocop 2016-02-08 15:37:19 -05:00
Mike Linksvayer
09a17298ab Fix #341 tests that broke post Jekyll 3 upgrade
- explicitly include jekyll-coffeescript needed per
  http://jekyllrb.com/docs/upgrading/2-to-3/
- option to html-proofer to ignore script embeds; uncertain why
  warnings appeared post upgrade as it doesn't seem that either
  jekyll-seo-tag or html-proofer got new versions in
  https://github.com/github/choosealicense.com/pull/339/files but
  suppressed now in any case.
2016-02-03 09:24:05 -08:00
Mike Linksvayer
96fc8b143e tell html-proofer to check http://choosealicense.com links locally
rather than externally
2016-01-28 11:58:58 -08:00
Ben Balter
698d603cc9 run spec before proofer 2016-01-15 18:04:07 -05:00
Ben Balter
415ac8a174 fix spec 2016-01-15 18:01:07 -05:00
Ben Balter
18be645772 also check HTML 2015-03-07 12:58:57 -05:00
Ben Balter
9c536b774b rake test should invoke rake spec 2015-03-07 12:49:49 -05:00
Ben Balter
dc1cc773a1 add tests 2015-03-07 12:47:24 -05:00
Aidan Feldman
49e50f6390 Don't ignore all '#' URLs when running HTML::Proofer
Explicitly ignore the clipboard button from proofing, which was why the
:href_ignore was there in the first place.  Per
https://github.com/github/choosealicense.com/pull/104/files#r7311111.
2013-12-18 03:28:01 -05:00
Aidan Feldman
d0f2cc3424 run html-proofing as part of travis build 2013-10-23 00:23:57 -07:00
Aidan Feldman
b5ff5db785 tweaks to make html-proofing pass 2013-10-23 00:20:44 -07:00
Aidan Feldman
0527976cee add HTML::Proofer 2013-10-23 00:07:51 -07:00