Skip to content

Commit

Permalink
Run protoplaster in renode during docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichalski-ant committed Dec 4, 2023
1 parent 35bfdd5 commit 58224ba
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,32 @@ jobs:
- name: Generate docs from yml
run: |
tuttest README.md example > example.yml
protoplaster -t example.yml --generate-docs
- name: Generate test report from yml
run: |
protoplaster -t example.yml --csv report.csv
protoplaster-test-report report.csv -t md
# - name: Generate test report from yml
# run: |
# protoplaster -t example.yml --csv report.csv
# protoplaster-test-report report.csv -t md

- name: Generate system report from yml
run: |
tuttest README.md system-report-example > system-report-example.yml
protoplaster-system-report -c system-report-example.yml --sudo
- name: Run protoplaster in Renode
uses: antmicro/renode-linux-runner-action@v1
with:
shared-dirs: ./
renode-run: |
python -m venv .venv
source .venv/bin/activate
pip install .
protoplaster -t example.yml --generate-docs
protoplaster -t example.yml --csv report.csv
protoplaster-test-report report.csv -t md
protoplaster-system-report -c system-report-example.yml
devices: |
vivid
gpio 0 32
i2c 0x1C
- name: Prepare docs template
run: |
Expand Down

0 comments on commit 58224ba

Please sign in to comment.