Skip to content

Fix the tests so that they run #6

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

Closed
wants to merge 2 commits into from
Closed

Fix the tests so that they run #6

wants to merge 2 commits into from

Conversation

jjm
Copy link
Member

@jjm jjm commented Feb 27, 2017

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

@Kami
Copy link
Contributor

Kami commented Feb 27, 2017

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
Copy link
Member Author

jjm commented Feb 27, 2017

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
Copy link
Contributor

Kami commented Feb 27, 2017

@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
Copy link
Member Author

jjm commented May 30, 2017

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

@jjm jjm closed this May 30, 2017
nmaludy pushed a commit that referenced this pull request Jul 10, 2020
alexdoshii pushed a commit to alexdoshii/stackstorm-github that referenced this pull request Feb 9, 2023
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