mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-20 10:44:05 +02:00
Automatically generate more service tables in the README (#509)
* Automatically sync more data * Automatically generate apply table * Generate manual control * Add manual control docs * Update README.md * Move docs functions to separate file * Update code * simple * no path * link paths * Fix link * missed * cd core * Update README.md * Allow alternative docs * update readme * More special * Fx * Update README.md * Remove common descriptions * Update README.md * Update README.md * Rephrase * Update README.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
cdc3585a66
commit
19fcb1d6b9
7 changed files with 333 additions and 211 deletions
8
.github/workflows/pytest.yaml
vendored
8
.github/workflows/pytest.yaml
vendored
|
|
@ -31,8 +31,8 @@ jobs:
|
|||
echo "::notice::### 4. ERROR:homeassistant.setup:Setup failed for 'component': Unable to import component: No module named ''module'' ###"
|
||||
echo "::notice::### 5. add 'component'.'module' (without the '') from the above log into the 'required' list inside of 'test_dependencies.py' ###"
|
||||
echo "::notice::### 6. Try again! If more issues persist they should be easily solvable by reading the verbose logs now. ###"
|
||||
- name: Run pytest
|
||||
timeout-minutes: 60
|
||||
|
||||
- name: Link custom_components/adaptive_lighting
|
||||
run: |
|
||||
cd core
|
||||
|
||||
|
|
@ -46,6 +46,10 @@ jobs:
|
|||
ln -fs ../../../tests adaptive_lighting
|
||||
cd -
|
||||
|
||||
- name: Run pytest
|
||||
timeout-minutes: 60
|
||||
run: |
|
||||
cd core
|
||||
python3 -X dev -m pytest \
|
||||
-qq \
|
||||
--timeout=9 \
|
||||
|
|
|
|||
7
.github/workflows/update-readme.yml
vendored
7
.github/workflows/update-readme.yml
vendored
|
|
@ -22,10 +22,15 @@ jobs:
|
|||
with:
|
||||
python_version: "3.10"
|
||||
|
||||
- name: Install pandas and tabulate
|
||||
- name: Install markdown-code-runner and README code dependencies
|
||||
run: |
|
||||
pip install markdown-code-runner pandas tabulate
|
||||
|
||||
- name: Link custom_components/adaptive_lighting
|
||||
run: |
|
||||
cd core/homeassistant/components
|
||||
ln -fs ../../../custom_components/adaptive_lighting adaptive_lighting
|
||||
|
||||
- name: Run markdown-code-runner
|
||||
run: markdown-code-runner --debug README.md
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue