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

Exclude test files and snapshots folders from copy task #662

Merged
merged 2 commits into from Apr 19, 2018

Conversation

kr8n3r
Copy link

@kr8n3r kr8n3r commented Apr 17, 2018

Currently tests that run after copy to packages or dist throw the following error:

 10 obsolete snapshot files found, run npm run test:build:packages -- -u to remove them..

As paths in tests are very specific and wouldn't work for consumers, we can avoid packaging them.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-662 April 17, 2018 15:55 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-662 April 17, 2018 15:57 Inactive
Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

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

Think we should have a failing build first on this one? Will bring up in incident review.

@NickColley NickColley dismissed their stale review April 18, 2018 14:50

I don't think this is related to the incident, my mistake sorry.

Jani Kraner added 2 commits April 19, 2018 09:04
Currently tests that run after copy to `packages` or `dist` throw the
following error:
```
 10 obsolete snapshot files found, run npm run test:build:packages -- -u
 to remove them..
```
As paths in tests are very specific and wouldn't work for consumers,
we can avoid packaging them.
@kr8n3r
Copy link
Author

kr8n3r commented Apr 19, 2018

yeah, not related to the incident

Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

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

This makes sense to me

@kr8n3r kr8n3r merged commit 0ec800c into master Apr 19, 2018
@kr8n3r kr8n3r deleted the exclude-snapshot-folders-from-packages-and-dist branch April 19, 2018 15:03
@kr8n3r kr8n3r mentioned this pull request May 18, 2018
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.

None yet

3 participants