Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: test axe examples in ci #1437

Merged
merged 4 commits into from
Mar 18, 2019
Merged

chore: test axe examples in ci #1437

merged 4 commits into from
Mar 18, 2019

Conversation

scurker
Copy link
Member

@scurker scurker commented Mar 14, 2019

Get examples in doc/examples running on CI:

  • Chrome Debugging Protocol (needs to spin up separate instance of chrome)
  • Jasmine (Existing Issue on CircleCI/Travis #295) Swapped to Karma to run Jasmine specs
  • Jest/React
  • Mocha
  • PhantomJS
  • Puppeteer
  • QUnit

Added script to run all examples under doc/examples/*. Added appveyor config to have examples running on windows.

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Has documentation updated, a DU ticket, or requires no documentation change
  • Includes new tests, or was unnecessary
  • Code is reviewed for security by: Stephen

@scurker scurker force-pushed the test-doc-examples branch 6 times, most recently from 86b0e1c to 135bf00 Compare March 15, 2019 18:47
@scurker scurker marked this pull request as ready for review March 18, 2019 14:09
@scurker scurker requested a review from a team as a code owner March 18, 2019 14:09
@scurker scurker changed the title Test doc examples chore: test axe examples in ci Mar 18, 2019
doc/examples/jest_react/package.json Show resolved Hide resolved
doc/examples/test-examples.js Outdated Show resolved Hide resolved
doc/examples/test-examples.js Outdated Show resolved Hide resolved
doc/examples/test-examples.js Outdated Show resolved Hide resolved
doc/examples/test-examples.js Show resolved Hide resolved
doc/examples/jasmine/karma.conf.js Outdated Show resolved Hide resolved
appveyor.yml Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
doc/examples/test-examples.js Outdated Show resolved Hide resolved
doc/examples/test-examples.js Outdated Show resolved Hide resolved
@stephenmathieson
Copy link
Member

stephenmathieson commented Mar 18, 2019

It's probably not a big deal, but it might be nice to cache the dependencies of the examples in CircleCI. This would speed the builds up a bit.

It looks like running the examples only takes ~15s, so optimizing it probably isn't necessary.

test:examples on ci

doc/examples/test-examples.js Outdated Show resolved Hide resolved
Copy link
Member

@stephenmathieson stephenmathieson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@scurker scurker merged commit 22fb124 into develop Mar 18, 2019
@scurker scurker deleted the test-doc-examples branch March 18, 2019 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants