Skip to content

Commit

Permalink
Merge pull request #60 from boanlab/github-action-python
Browse files Browse the repository at this point in the history
- chore: PEP8 python check, pylint using ruff, pip check added
  • Loading branch information
isu-kim authored Feb 20, 2024
2 parents dbdd054 + 9d9a02a commit 3396cd6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci-test-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: check Python pip3
- run: pip install -r requirements.txt
- run: pip test
- name: check Python pip3 requirements
run: |
pip install -r requirements.txt
working-directory: ai-engine

py-lint-ai-sentryflow:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.11'
Expand All @@ -43,3 +41,12 @@ jobs:
ruff --output-format=github .
continue-on-error: true
working-directory: ai-engine

py-pep8-ai-sentryflow:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: 'Run PEP8'
uses: quentinguidee/pep8-action@v1
with:
arguments: '--max-line-length=120'

0 comments on commit 3396cd6

Please sign in to comment.