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 d5af72a
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
python-version: 3.11
- name: Install protoplaster with pip
run: |
pwd
pip install .
- name: Install tuttest
run: |
Expand All @@ -31,17 +32,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 d5af72a

Please sign in to comment.