Skip to content

fix workflows

fix workflows #47

Workflow file for this run

name: cocotb
on:
push:
paths: ["problems/**.v", "problems/**.py", ".github/workflows/cocotb.yml"]
pull_request:
paths: ["problems/**.v", "problems/**.py", ".github/workflows/cocotb.yml"]
jobs:
cocotb-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run pytest in container
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/builderdev212/cocotb-runner:latest
options: -v ${{ github.workspace }}:/usr/src/verilogbits
run: |
. .venv/bin/activate && /bin/bash
cd verilogbits
pytest