We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8af9c93 commit 650fc30Copy full SHA for 650fc30
.github/workflows/cocotb.yml
@@ -1,13 +1,20 @@
1
name: pytest-cocotb
2
on: [push, pull_request]
3
jobs:
4
- cocotb:
+ # cocotb:
5
+ # runs-on: ubuntu-latest
6
+ # steps:
7
+ # - name: Checkout code
8
+ # uses: actions/checkout@v3
9
+ # - name: Run pytest
10
+ # uses: builderdev212/cocotb-runner
11
+ # run: pytest -n 10
12
+ container-test-job:
13
runs-on: ubuntu-latest
14
+ container:
15
+ image: builderdev212/cocotb-runner
16
+ volumes:
17
+ - my_docker_volume:/usr/src/verilogbits
18
steps:
- - name: Checkout code
- uses: actions/checkout@v3
- - name: Run pytest
- uses: addnab/docker-run-action@v3
- with:
- image: ghcr.io/builderdev212/cocotb-runner:latest
- run: pytest -n 10
19
+ - name: Check for dockerenv file
20
+ run: cd /usr/src/verilogbits && pytest
0 commit comments