Skip to content

Removed tests that are NA atm #42

Removed tests that are NA atm

Removed tests that are NA atm #42

Workflow file for this run

name: Regression Tests
on: [push, pull_request]
jobs:
test:
name: Tox (pytest) - ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Verilator
run: |
sudo apt install -y git help2man perl python3 \
make autoconf g++ flex bison ccache \
libgoogle-perftools-dev numactl perl-doc \
libfl2 libfl-dev zlibc zlib1g zlib1g-dev
git clone https://github.com/verilator/verilator.git
cd verilator
git checkout stable
autoconf
./configure
make -j $(nproc)
sudo make install
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Generate coverage
run: make cov RUN_CMD=
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV }} # not required for public repos
files: ./coverage.info
fail_ci_if_error: true
verbose: true