Skip to content

Commit 0176602

Browse files
committed
finished runners
1 parent a9a1598 commit 0176602

File tree

2 files changed

+13
-56
lines changed

2 files changed

+13
-56
lines changed

.github/workflows/black.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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"

.github/workflows/cocotb.yml

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
name: cocotb
2-
on: push
2+
on: [push, pull_request]
33
jobs:
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
@@ -16,45 +15,3 @@ jobs:
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-

0 commit comments

Comments
 (0)