Skip to content

Commit

Permalink
Merge pull request chipsalliance#127 from antmicro/mczyz/ci-nox-lint
Browse files Browse the repository at this point in the history
Enable lint of verification in CI
  • Loading branch information
tmichalak authored Oct 10, 2023
2 parents d0e9a66 + f9f0f42 commit 9338f04
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-uarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ env:
VERILATOR_VERSION: v5.010

jobs:
lint:
name: Lint microarchitectural tests
runs-on: ubuntu-latest
steps:
- name: Setup repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Setup environment
run: |
RV_ROOT=`pwd`
echo "RV_ROOT=$RV_ROOT" >> $GITHUB_ENV
PYTHONUNBUFFERED=1
echo "PYTHONUNBUFFERED=$PYTHONUNBUFFERED" >> $GITHUB_ENV
TEST_PATH=$RV_ROOT/verification/block
echo "TEST_PATH=$TEST_PATH" >> $GITHUB_ENV
pip3 install nox
- name: Lint
run: |
pushd ${TEST_PATH}
nox -s isort flake8 black
popd
tests:
name: Microarchitectural tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9338f04

Please sign in to comment.