FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix the tests so that they run by jjm · Pull Request #6 · StackStorm-Exchange/stackstorm-github · GitHub

Repository navigation

Fix the tests so that they run - #6

Closed
jjm wants to merge 2 commits into
StackStorm-Exchange:masterfrom
jjm:master
Closed

jjm wants to merge 2 commits into
StackStorm-Exchange:masterfrom
jjm:master

Conversation

jjm commented Feb 27, 2017

Copy link
Copy Markdown
Member

Remove the execute bit on tests, so the nose will detect them and run the tests (Fixes: #5).

Kami commented Feb 27, 2017

Copy link
Copy Markdown
Contributor

Good catch - thanks again.

On a related note - we should add a check to the make compile or similar target which checks that no files in tests/ starting with test_ have an executable bit.

Bonus point would also be documenting this in testing guide in st2docs :)

jjm commented Feb 27, 2017

Copy link
Copy Markdown
Member Author

Looks like this needs the fix your currently working on for aliases too.

How about I add a +x check for test_* files to a general linting script in st2sdk that checks all files for errors and then reports instead of stopping at the first one?

That's an annoyance I found when sorting CI for our internal pack. Marking the pack testing story for our internal pack better is is something I'm thinking about.

Kami commented Feb 27, 2017

Copy link
Copy Markdown
Contributor

@jjm Yeah, I'm fine with adding that check script / tool to st2sdk and then calling it inside the Circle CI task which runs for all the packs :)

jjm commented May 30, 2017

Copy link
Copy Markdown
Member Author

I'll just close this, it was fixed else where.

jjm closed this May 30, 2017
nmaludy pushed a commit that referenced this pull request Jul 10, 2020
alexatx15 pushed a commit to alexatx15/stackstorm-github that referenced this pull request Feb 9, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL