Skip to content

Commit 40a34bf

Browse files
committed
ci: migrate from Travis CI to GitHub Actions
1 parent f607b66 commit 40a34bf

3 files changed

Lines changed: 28 additions & 13 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test Suite
2+
3+
on:
4+
push:
5+
branches: [main, devel]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.12"
19+
20+
- name: Install iverilog
21+
run: sudo apt-get install -y iverilog
22+
23+
- name: Install dependencies
24+
run: pip install -e .
25+
26+
- name: Run test suite (HDL + Python sim)
27+
run: timeout 300 python suite.py -f -j -P -n 4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.gitignore
33
.*/
44
.*
5+
!.github/
56

67
# Debugging
78
debug*

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)