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
VK tests, GitHub actions, GitHub pages, allure report and linters #77
Conversation
8a7d622
to
48b7933
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First up - this is awesome!
I can't comment on each change - but really love all the code style cleanup.
I've also been thinking about setting up a Github Actions template that any Skill can grab and use - so really excited to see what you've done here. I hadn't thought about using Github Pages for the allure output either - very nice!
|
Hi @krisgesling, thanks, glad you like it. I original prepared this for Travis, but on it, was impossible to upload Allure report to GitHub pages as secret was not shard to runs from PR only from commits. So useless as You want allure reports mainly from PRs. GitHub Actions is whole game changer, as no secret is needed to upload to Pages as they run in same repository as Template for all skills is my intent, take this as first touch on which we all can build. Also with Mycroft-core, when new release is made, there could be workflow to crate a docker image with released version and then it can be used in skills workflows to speed up runs (skip whole cloning and installing of Mycroft core). I started working on your comments, I made changes locally and push them in wan go. I will try to specify as much details as possible and add them to 'README.md' in tests, so anybody can understood them. It took me some time and many runs to figure out things so documentation is really needed. |
a0573b2
to
8a5b5d1
Compare
This exists! It was getting forgotten but I've added it to our standard release process now. So anytime we release a new minor or major version of mycroft-core this docker image will get updated: Really appreciate how much time it takes to work this stuff out so really glad to hear you're documenting it as you go. |
3ea4a00
to
d9c3505
Compare
|
Hi @krisgesling, check comments please, I replied to all. Also check |
8c1a146
to
41089fd
Compare
41089fd
to
1404bac
Compare
1404bac
to
9ce0566
Compare
|
@Tony763 there seems to be some "conflicting files" |
c046671
to
5e611b5
Compare
5e611b5
to
aaabff2
Compare
|
Here we go, rebase did not help so I had to solve merge issues with new commit. Workflow OK Ready to go. |
|
Could You check @krisgesling? Another PR is on the way and I would like to make it on top of this, fixing merge issues in this beast was something this time so I would like to avoid to rebase it again |
3c22484
to
66913ac
Compare
|
Memo for future implementation: Always add |
|
Nice little clean up of the action step names. I've also added a branch protection rule so in future all of these tests must pass, and there must be an approving review for any PR, before they they can be merged. Merging this now though! |
|
Helps if I setup GH pages first... Re-running actions now |
|
Hmmm, I get a lot of errors like:
|
|
it seems that branches/pull requests are not able to write to the |
|
@pfefferle could you send PR with any small change to my repository - I need to test changes for fixing workflow run for PRs. |
|
@Tony763 done: Tony763#37 |
* initial * add german translation * fix wrong entity type * add `cover_stop` intent * nicer german intents * updated readme * add cover to `_handle_sensor` method, to request status of cover * moved `cover` to the right place * fix text syntax * check cover states * fix typo * Czech translation * fix typo * nicer german wordings * added TODO * remove logging * some text changes based on feedback by @stratus-ss * add optional "the" * changes based on #77 * add some code documentations * pylint fix thanks @Tony763 * fix another pylint error * add missing f * add audio feedback Co-authored-by: Antonín Skala <skala.antonin@gmail.com>
Hi,
I finally managed to finish next step in dividing and applying changes from PR #38.
Check README.md for some detailed information
Actual report can be seen there
Description
Fix old unittests
Remove old tests
Add VK tests (behave)
Add GitHub Actions workflow: Contain linters, VK tests, allure report
Add docstrings
Fix various errors found by linters
Add
Readme.mdto test directoryAdd .venv and .vscode to .gitignore
Type of PR
Note
PR contain partially changes from #74 to fix pylint errors, but not all. It is still valid PR.
Changes are divided by commits.