Commit Graph

19 Commits (5f4c68e5831e668f11dddc9a2d00bf11698f8c5b)

Author SHA1 Message Date
Åke dd7f7abba6
Shellcheck scripts folder (#3063)
* Remove unused scripts

install-pocketsphinx and install-pygtk is no longer used by the
dev-setup.

* Fix shellcheck issues in scripts

* Remove space in cores argument

* Update my-info.sh script

- Make it use the new method to activate venv if needed
- Improve requirements.txt parsing
- Update process detection from old "screen" setup
- Update log-files paths
- Fix finding mycroft-core folder

* Fix shellcheck issues in mycroft-use.sh

Mainly quoting but also unpacking of arguments and improving some if
statements

* Update shellcheck test to include scripts folder
2022-02-28 14:44:15 +09:30
Kris Gesling 947b7f3fc7
Merge pull request #3030 from forslund/cicd/shellcheck-directives
Use shellcheck directive instead of excludes
2021-12-13 10:06:15 +09:30
Åke Forslund b0f9a10e71 Disable source lookup errors 2021-11-23 11:56:54 +01:00
Åke Forslund e6fe1bbc8a Use shellcheck directive instead of excludes
This uses shellcheck directives instead of excludes only available in
CICD.

This leaves SC1090 as a general exclude
2021-11-08 07:46:52 +01:00
Kris Gesling 958d4fa05e
Update link for Hub to point to official Github version 2021-11-06 06:13:58 +09:30
Åke fd12c88da5
Refactor/shellcheck bin (#3019)
* Shellcheck and update mycroft-config

* Shellcheck and update mycroft-pip

* Shellcheck and update mycroft-cli-client

* Shellcheck and update mycroft-help

* Shellcheck and update mycroft-listen

* Shellcheck and update mycroft-mic-test

* Shellcheck and update mycroft-msk

* Shellcheck and update mycroft-msm

* Shellcheck and update mycroft-say-to

* Shellcheck and update mycroft-skill-testrunner

* Shellcheck and update mycroft-speak

* Shellcheck and update mycroft-start

* Shellcheck and update mycroft-stop

* Add shellcheck step to github actions

This runs most of the shellcheck tests. The excludes are:
- SC1091: Avoids errors when shellcheck can't find sourced file
- SC2034: Unused variables, for example colors that aren't used yet
- SC2012: use of ls, from what I can see in our case this is fine (wc -l)

The version is locked to latest master as of November 2 2021
2021-11-04 17:01:17 +09:30
Kris Gesling d7c13bdc17
Merge pull request #2693 from MycroftAI/feature/update-contributor-guide
Fix broken link in Contributor Guide
2021-06-17 22:26:45 +09:30
Åke Forslund dac3bb8f07 Use os default gcc in github workflow 2021-02-08 23:45:26 +01:00
Chris Veilleux 221dfc6576 Build fails on Python 3.5 due to an "f string" in PIP 2021-01-27 14:28:14 -06:00
Chris Veilleux 6513e76680 Refactor and add comments 2021-01-27 13:39:31 -06:00
Chris Veilleux a6ef894ded Replace coveralls with codecov 2021-01-27 13:27:43 -06:00
Chris Veilleux 52eaf445ce Remove apt installs that are redundant of those in dev_setup.sh 2021-01-27 13:25:45 -06:00
Chris Veilleux c7b5783d89 The "tput" commands were failing in GitHub Actions, added CI check as there is no reason to execute those commands in a CI environment. 2021-01-27 12:49:48 -06:00
Chris Veilleux b5387a8888 Renamed file to unit_test.yml. Previous name, ci.yml, implied a full CI suite. Ony unit tests are run with this file. 2021-01-27 12:44:37 -06:00
Marvin Wichmann d21ea406e5 Migrate to Github Actions 2021-01-27 11:31:37 -06:00
Kris Gesling 5616aae0ce fix broken link; minor edits 2020-09-14 14:44:28 +09:30
Cody Reinold bc5743b7ef Issue-2550 - Update contributor guidelines to improve clarity and fix broken links 2020-04-26 17:27:24 -04:00
Thomas Eimers 1548cb4ab4 The command to run unittests was wrong documented 2019-12-26 21:49:56 +01:00
Matthew D. Scholefield c292de0dea Move github files to .github folder 2018-06-06 18:00:30 -05:00