diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd402f4..c28bccc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,9 @@ jobs: uses: actions/checkout@v4 - name: Lint with Flake8 run: | + python3 -m venv .venv + . .venv/bin/activate + pip install --upgrade pip pip install .[dev] flake8 --statistics . @@ -31,9 +34,17 @@ jobs: uses: actions/checkout@v4 - name: Run tests run: | + python3 -m venv .venv + . .venv/bin/activate + pip install --upgrade pip pip install -e .[dev] - pytest + + # change running directory + mkdir testrun + cd testrun + + pytest $GITHUB_WORKSPACE lint_verilog: name: Lint Verilog Code