Skip to content

Commit

Permalink
ci: Merge lint and python-app bots
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraminio committed Nov 17, 2023
1 parent d6cc068 commit 52bb62b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/pylint.yml

This file was deleted.

12 changes: 8 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,24 @@ permissions:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 52bb62b

Please sign in to comment.