CenterForOpenScience / modular-file-renderer

A Python package for rendering files to HTML via an embeddable iframe
http://modular-file-renderer.readthedocs.io/en/latest/
Apache License 2.0
43 stars 67 forks source link

Ignore node_modules when running pytest #344

Closed NyanHelsing closed 6 years ago

NyanHelsing commented 6 years ago

There are some python files in node_modeles, and these packages tests shouldn't run when we run MFR tests.

Ticket

Purpose

Changes

Side effects

QA Notes

Deployment Notes

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 71.169% when pulling 30f047c22012f26a41708db7d7fd7a3b5537b764 on birdbrained:ft/ignore-pytest into 9fc2e52a95e71316ab25ca9ffb6fe79398fc29a4 on CenterForOpenScience:develop.

NyanHelsing commented 6 years ago

This is the same as default, only it adds the config not to descend into node_modules directories when looking for tests to run. Some node modules have python tests. This may only apply if you run py.test directly, but I do that, so.