diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9130052..454cec5 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,22 +1,30 @@ name: learning-cocotb run-name: ${{ github.actor }} is learning Cocotb -on: +on: workflow_dispatch: + jobs: verify: runs-on: ubuntu-latest timeout-minutes: 3 + permissions: + contents: write steps: - uses: actions/checkout@v3 + - run: sudo apt install -y --no-install-recommends iverilog + - run: pip3 install cocotb cocotb-bus + - run: make -C tests or - - uses: actions/upload-artifact@v3 + + - uses: actions/upload-artifact@v4 with: name: waveform path: tests/*.vcd + - name: Publish Test Report uses: mikepenz/action-junit-report@v3 - if: always() # always run even if the previous step fails + if: always() with: report_paths: '**/tests/results.xml'