Skip to content

Supporting the execution as software for veriloggen.thread methods. S… #173

Supporting the execution as software for veriloggen.thread methods. S…

Supporting the execution as software for veriloggen.thread methods. S… #173

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches-ignore: [ feature_systemverilog ]
pull_request:
branches-ignore: [ feature_systemverilog ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Install apt dependencies
- name: Install apt dependencies
run: sudo apt install iverilog verilator
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-pythonpath pytest-xdist pyverilog numpy
# Run pytest
- name: Test with pytest
run: |
python -m pytest tests examples