Skip to content

Commit

Permalink
Move linting to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Dec 26, 2024
1 parent 2c23080 commit 751b83a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 22 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test Neureka
on: push
jobs:
python-lint:
runs-on: ubuntu-latest
working-directory: test
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
- uses: jakebailey/pyright-action@v2
- uses: isort/isort-action@v1
with:
requirements-files: "requirements-pip.txt"
22 changes: 0 additions & 22 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,8 @@
# SPDX-License-Identifier: Apache-2.0

stages:
- lint
- test

python_format:
stage: lint
tags:
- python-lint
script:
- black --check .

python_sort_imports:
stage: lint
tags:
- python-lint
script:
- isort --check test

python_static_check:
stage: lint
tags:
- python-lint
script:
- pyright .

run_ne16_test:
stage: test
tags:
Expand Down

0 comments on commit 751b83a

Please sign in to comment.