From 00b21deced58744796984cf82a03588fe70d04d0 Mon Sep 17 00:00:00 2001 From: Jakub Michalski Date: Thu, 25 Jan 2024 10:01:06 +0100 Subject: [PATCH] Load device modules --- .github/workflows/docs.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6e1d9e8..b0f9bbe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,8 +2,8 @@ name: Generate and publish docs on: push: - branches: - - main + # branches: + # - main pull_request: workflow_dispatch: schedule: @@ -13,20 +13,21 @@ jobs: docs: runs-on: ubuntu-latest + container: debian steps: - name: Get repository uses: actions/checkout@v3 - - uses: actions/setup-python@v2 - with: - python-version: 3.11 - name: Install protoplaster with pip run: | - pip install . + PATH="/github/home/.local/bin:$PATH" + apt update -y + apt install -y python3 python3-pip pipx git + pipx install . - name: Install tuttest run: | - pip install git+https://github.com/antmicro/tuttest + pipx install git+https://github.com/antmicro/tuttest - name: Generate docs from yml run: | @@ -35,6 +36,9 @@ jobs: - name: Generate test report from yml run: | + # sudo modprobe i2c-stub chip_addr=0x3C + modprobe vivid + # sudo modprobe gpio-mockup gpio_mockup_ranges=0,32 protoplaster -t example.yml --csv report.csv protoplaster-test-report report.csv -t md