File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ # Controls when the workflow will run
4
+ on :
5
+ # Triggers the workflow on push or pull request events but only for the develop branch
6
+ push :
7
+ branches-ignore : [ feature_systemverilog ]
8
+ pull_request :
9
+ branches-ignore : [ feature_systemverilog ]
10
+
11
+ # Allows you to run this workflow manually from the Actions tab
12
+ workflow_dispatch :
13
+
14
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
+ jobs :
16
+ # This workflow contains a single job called "build"
17
+ build :
18
+ # The type of runner that the job will run on
19
+ runs-on : ubuntu-latest
20
+ strategy :
21
+ matrix :
22
+ python-version : [3.7, 3.8, 3.9]
23
+
24
+ # Steps represent a sequence of tasks that will be executed as part of the job
25
+ steps :
26
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27
+ - uses : actions/checkout@v2
28
+ # Setup Python
29
+ - name : Set up Python ${{ matrix.python-version }}
30
+ uses : actions/setup-python@v2
31
+ with :
32
+ python-version : ${{ matrix.python-version }}
33
+ # Install apt dependencies
34
+ - name : Install apt dependencies
35
+ run : sudo apt install iverilog verilator
36
+ # Install dependencies
37
+ - name : Install dependencies
38
+ run : |
39
+ python -m pip install --upgrade pip
40
+ pip install pytest pytest-pythonpath pyverilog numpy
41
+ # Run pytest
42
+ - name : Test with pytest
43
+ run : |
44
+ python -m pytest tests examples
Original file line number Diff line number Diff line change 1
1
Veriloggen
2
2
==============================
3
3
4
- [ ![ Build Status] ( https://www.travis-ci.com/PyHDI/veriloggen.svg?branch=develop )] ( https://www.travis-ci.com/github/PyHDI/veriloggen )
4
+ [ ![ CI] ( https://github.com/PyHDI/veriloggen/actions/workflows/main.yml/badge.svg?branch=develop )] ( https://github.com/PyHDI/veriloggen/actions/workflows/main.yml )
5
+ [ ![ Build Status] ( https://www.travis-ci.com/PyHDI/veriloggen.svg?branch=develop )] ( https://www.travis-ci.com/PyHDI/veriloggen )
5
6
6
7
A Mixed-Paradigm Hardware Construction Framework
7
8
You can’t perform that action at this time.
0 commit comments