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: documentation and CI updates #183

Merged
merged 7 commits into from
May 9, 2021
Merged

chore: documentation and CI updates #183

merged 7 commits into from
May 9, 2021

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented May 6, 2021

No description provided.

Frazer Smith added 5 commits May 6, 2021 16:30

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Fdawgs Fdawgs marked this pull request as draft May 6, 2021 15:58

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Fdawgs Fdawgs marked this pull request as ready for review May 6, 2021 16:01
@coveralls
Copy link

coveralls commented May 6, 2021

Pull Request Test Coverage Report for Build 817490292

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 797146268: 0.0%
Covered Lines: 267
Relevant Lines: 267

💛 - Coveralls

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@Fdawgs
Copy link
Member Author

Fdawgs commented May 9, 2021

@mcollina, mind if i open similar requests on other pino repos?
Some don't have CI in place (or are on travis still), so wanted to fix that!

@mcollina
Copy link
Member

mcollina commented May 9, 2021

go for it!

@mcollina mcollina merged commit 24e8ff0 into pinojs:master May 9, 2021
@Fdawgs Fdawgs deleted the chore/tidy branch May 9, 2021 13:20
Comment on lines +10 to +12
"ci": "standard && tap \"test/**/*.test.js\" --coverage-report=lcovonly",
"lint": "standard | snazzy",
"test": "tap --100 'test/**/*.test.js'"
"test": "tap --100 \"test/**/*.test.js\""
Copy link
Member

Choose a reason for hiding this comment

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

These changes should not have been made. The " will introduce shell expansion of **/*.test.js. The ' prevents shell expansion and allows the glob package to do the expansion.

@Fdawgs please do not blanket change quotes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, sorry @jsumners. Is there a better way of doing this?

The Fastify repos all use a similar method to ensure the tests run on Windows.

Copy link
Member

Choose a reason for hiding this comment

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

They should all be using single quotes.

Copy link
Member Author

Choose a reason for hiding this comment

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

After further investigation, I don't think it matters if single or double quotes are used when it's just globbing (phew, no mass opening of PRs on all of Fastify's repos):

$ cd test

$ echo *
decorate.test.js hook.test.js integration.test.js plugin.test-d.ts

$ echo "*"
*

$ echo '*'
*

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

4 participants