Merge branch 'master' of https://github.com/raysalemi/pyuvm #156
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
name: Regression Tests | |
on: | |
push: | |
branches: | |
- master | |
- ral_dev | |
pull_request: | |
branches: | |
- master | |
- ral_dev | |
workflow_dispatch: | |
jobs: | |
# I've moved flake into tox, so it should not be needed here. | |
# I'll delete this code in a later version. | |
# lint-flake8: | |
# runs-on: ubuntu-latest | |
# name: flake8 | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# python-version: [3.8] | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Set up Python ${{matrix.python-version}} | |
# uses: actions/setup-python@v2 | |
# with: | |
# python-version: ${{matrix.python-version}} | |
# - name: flake8 | |
# continue-on-error: false | |
# run: | | |
# pip install flake8 | |
# flake8 pyuvm | |
tests: | |
name: Python ${{matrix.python-version}} | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python-version: 3.8 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{matrix.python-version}} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: Install Python testing dependencies | |
run: | | |
pip install tox tox-gh-actions | |
- name: Install Icarus Verilog | |
run: | | |
sudo apt install -y --no-install-recommends iverilog | |
- name: Install GHDL | |
run: | | |
sudo apt install -y --no-install-recommends ghdl-mcode ghdl | |
- name: Test | |
run: | | |
tox |