pyuvm Regression Tests #45
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: pyuvm Regression Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.10.6] | |
env: | |
SIM: ghdl | |
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 dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install cocotb-coverage | |
pip install cocotb-test | |
pip install pytest | |
pip install pytest-parallel | |
pip install pytest-xdist | |
pip install pyuvm | |
- uses: ghdl/setup-ghdl-ci@nightly | |
with: | |
backend: llvm | |
- run: | | |
ghdl --version | |
$GHDL --version | |
- name: regression | |
run: | | |
SIM=ghdl pytest -n auto -o log_cli=True --junitxml=test-results.xml --cocotbxml=test-cocotb.xml pyuvm_sim/test_moving_average_pyuvm.py |