-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (30 loc) · 955 Bytes
/
uvm_ci.yaml
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
name: Run UVM all tests
on:
push: # This now triggers on pushes to any branch
pull_request: # This now triggers on pull requests to any branch
jobs:
test_and_clean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: download docker
run: |
docker pull efabless/dv:cocotb
- name: Navigate to verify/uvm-python and run tests
run: |
cd verify/uvm-python
make run_all_tests RUN_MERGE_COVERAGE=false
- name: Clean passed runs
run: make clean_passed_dirs
- name: Check for directories under sim
run: |
if [ "$(ls -A sim/)" ]; then
echo "Error: runs exist under sim after cleanup"
exit 1
else
echo "Cleanup successful, no directories under sim"
fi