Skip to content

Commit

Permalink
Update CI: Use nox for running lint and test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mczyz-antmicro committed Aug 3, 2023
1 parent 60618a1 commit b389d5a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,16 @@ jobs:
python3 -m pip install -r dev.requirements.txt
python3 -m pip install git+https://github.com/antmicro/tuttest
- name: Lint with flake8
run: flake8 fpga_topwrap --count --show-source --statistics
- name: Run lint checks
run: |
nox -s isort black flake8
- name: Build
run: tuttest README.md | bash -

- name: Test with pytest
run: pytest
- name: Run pytest with nox
run: |
nox -s tests
Examples:
Expand Down

0 comments on commit b389d5a

Please sign in to comment.