Skip to content

Commit

Permalink
Merge pull request #39 from tiagocoutinho/ci
Browse files Browse the repository at this point in the history
Fix CI for ruff
  • Loading branch information
tiagocoutinho authored Apr 19, 2023
2 parents 785a49d + 13ee6e7 commit 7a4ba64
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Test suite

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
tests:
Expand All @@ -16,9 +18,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1
with:
src: ['v4l2py', 'tests', 'examples']
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -32,7 +31,7 @@ jobs:
- name: Linting tests
run: |
black --check --diff v4l2py tests examples
ruff check --diff v4l2py tests examples
ruff check --diff --format=github --show-files .
- name: Build package
run: |
python -m build
Expand Down

0 comments on commit 7a4ba64

Please sign in to comment.