-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (44 loc) · 1.05 KB
/
cocotb.yml
File metadata and controls
48 lines (44 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: pytest-cocotb
on: [push, pull_request]
jobs:
cocotb:
runs-on: ubuntu-latest
container:
image: ghcr.io/builderdev212/cocotb-runner
env:
actor: ${{ github.actor }}
steps:
- uses: actions/checkout@main
- run: ls
- run: pytest
# cocotb:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Run pytest
# uses: builderdev212/cocotb-runner
# run: pytest -n 10
# container-test-job:
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/builderdev212/cocotb-runner
# volumes:
# - my_docker_volume:/usr/src/verilogbits
# steps:
# - name: Check for dockerenv file
# run: cd /usr/src/verilogbits && pytest
# .docker_tmpl: &container_job
# tags:
# - podman-runner
# image: cocotb-dev:latest
# ex:
# <<: *container_job
# rules:
# - if: $CI_COMMIT_BRANCH
# changes:
# paths:
# stage: test
# script:
# - cd
# - pytest -n 10 --retries 2