File tree Expand file tree Collapse file tree 2 files changed +13
-56
lines changed Expand file tree Collapse file tree 2 files changed +13
-56
lines changed Original file line number Diff line number Diff line change 1- # name: python-black
2- # on: [push, pull_request]
3- # jobs:
4- # linter_name:
5- # name: runner / black formatter
6- # runs-on: ubuntu-latest
7- # steps:
8- # - uses: actions/checkout@v4
9- # - uses: rickstaa/action-black@v1
10- # with:
11- # black_args: ". --check"
1+ name : python-black
2+ on : [push, pull_request]
3+ jobs :
4+ linter_name :
5+ name : runner / black formatter
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+ - uses : rickstaa/action-black@v1
10+ with :
11+ black_args : " . --check"
Original file line number Diff line number Diff line change 11name : cocotb
2- on : push
2+ on : [ push, pull_request]
33jobs :
44 cocotb-container :
55 runs-on : ubuntu-latest
66 steps :
77 - name : Checkout code
88 uses : actions/checkout@v4
9-
10- - name : Run step in container
9+ - name : Run pytest in container
1110 uses : addnab/docker-run-action@v3
1211 with :
1312 image : ghcr.io/builderdev212/cocotb-runner:latest
1615 . .venv/bin/activate && /bin/bash
1716 cd verilogbits
1817 pytest
19- # jobs:
20- # cocotb-container:
21- # runs-on: ubuntu-latest
22- # container: ghcr.io/builderdev212/cocotb-runner:latest
23- # steps:
24- # - run: git clone https://github.com/builderdev212/verilogbits
25- # - run: pytest
26- # cocotb:
27- # runs-on: ubuntu-latest
28- # steps:
29- # - name: Checkout code
30- # uses: actions/checkout@v3
31- # - name: Run pytest
32- # uses: builderdev212/cocotb-runner
33- # run: pytest -n 10
34- # container-test-job:
35- # runs-on: ubuntu-latest
36- # container:
37- # image: ghcr.io/builderdev212/cocotb-runner
38- # volumes:
39- # - my_docker_volume:/usr/src/verilogbits
40- # steps:
41- # - name: Check for dockerenv file
42- # run: cd /usr/src/verilogbits && pytest
43-
44-
45- # .docker_tmpl: &container_job
46- # tags:
47- # - podman-runner
48- # image: cocotb-dev:latest
49-
50- # ex:
51- # <<: *container_job
52- # rules:
53- # - if: $CI_COMMIT_BRANCH
54- # changes:
55- # paths:
56- # stage: test
57- # script:
58- # - cd
59- # - pytest -n 10 --retries 2
60-
You can’t perform that action at this time.
0 commit comments