-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cocotb_tests to _cocotb_test.yml
run cocotb tests on iris runners
- Loading branch information
Showing
2 changed files
with
37 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
cocotb_test: | ||
runs-on: | ||
group: iris_runners | ||
container: | ||
image: ghcr.io/pandablocks/pandablocks-ci-container:latest | ||
options: --privileged | ||
|
||
steps: | ||
# Git repositories | ||
- name: Checkout Source | ||
uses: actions/checkout@v4 | ||
with: | ||
path: repos/PandABlocks-fpga | ||
fetch-depth: 0 | ||
|
||
- name: Checkout rootfs and Give Directory Perms | ||
uses: ./repos/PandABlocks-fpga/.github/actions/setupenv | ||
|
||
- name: Run cocotb tests | ||
run: | | ||
cd PandABlocks-fpga && ln -s CONFIG.example CONFIG && make cocotb_tests | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
name: nvc-coverage | ||
files: cocotb_coverage.xml | ||
# env: | ||
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters