Meteor-Community-Packages / template-package

Template package with CI and everything else to get started quickly with creating a new FOSS Meteor package.
MIT License
10 stars 3 forks source link

Add github tests #11

Closed harryadel closed 3 years ago

harryadel commented 3 years ago

It has been a while but I never forgot :sweat_smile: Applying the same testing scheme from collection2 wouldn't work because the tests are not invoked within a meteor app but thanks to montiapm I found out that you can invoke package tests directly without a wrapper app using @@zodern/mtest utility.

StorytellerCZ commented 3 years ago

@zodern is the source code for your package open anywhere?

StorytellerCZ commented 3 years ago

Though I find it strange that the tests are not running on the PR. Are we missing something?

harryadel commented 3 years ago

@zodern is the source code for your package open anywhere?

~It's not on Github yet, you have to install the package and look it up in node modules.~ https://github.com/zodern/mtest

harryadel commented 3 years ago

Though I find it strange that the tests are not running on the PR. Are we missing something?

@StorytellerCZ Don't know for sure but maybe the config must be in the repository for it to run tests.