Skip to content

Commit

Permalink
Use the yaml example from README for docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgorochowik committed Oct 13, 2023
1 parent b9e9cd2 commit a51c92e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ jobs:
- name: Install protoplaster with pip
run: |
pip install .
- name: Install tuttest
run: |
pip install git+https://github.com/antmicro/tuttest
- name: Generate docs from yml
run: |
protoplaster -t tests/basic.yml --generate-docs
protoplaster -t <(tuttest README.md example) --generate-docs
- name: Prepare docs template
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ optional arguments:

Protoplaster expects a yaml file describing tests as an input. That yaml file should have a specified structure.

<!-- name="example" -->
```yaml
---
base: # A group specifier
i2c: # A module specifier
- bus: 1 # An interface specifier
Expand Down

0 comments on commit a51c92e

Please sign in to comment.