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

Fixed CI: examples are not tested #44

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Fixed CI: examples are not tested #44

merged 2 commits into from
Apr 21, 2021

Conversation

b-viguier
Copy link
Contributor

@b-viguier b-viguier commented Apr 19, 2021

In PR #43 , examples are not run, 0 tests are found…
I'm trying locally, and I found some typo, so these examples never ran on CI… 😫

It's due to a case mistake in the folder name, I created a Tests folder to match a namespace, but the test suite was configured to scan the tests folder (by convention 🤷‍♂️ ). I detected nothing locally because OsX filesystem is case-insensitive 🤦‍♂️

The good way to go:

  • Use a tests folder
  • Modify the namespace, with the same convention than in unit tests, i.e. a vendor containing Tests

@b-viguier b-viguier marked this pull request as ready for review April 19, 2021 19:31
@b-viguier b-viguier merged commit 373a145 into master Apr 21, 2021
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.

1 participant