Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Initial GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
vutoff committed Nov 13, 2023
1 parent 25fbecc commit c0b02b6
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,34 @@ jobs:
steps:
- uses: actions/checkout@v2

check-editor-config:
runs-on: ubuntu-latest
needs: checkout-code
steps:
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker

setup-python:
runs-on: ubuntu-latest
needs: checkout-code
steps:
- name: Set up Python 3.10
uses: actions/setyp-python@v1
uses: actions/setyp-python@v4
with:
python-version: 3.10

python-checks:
runs-on: ubuntu-latest
needs: [checkout-code, setup-python]
steps:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r app/requirements.txt
python -m pip install pylint
- name: Analyze code with PyLint
run: |
python -m pip install pylint
find . -name '*.py' -exec pylint {} \;
- name: Analyze code with Black
Expand All @@ -38,9 +50,6 @@ jobs:
ignore: node_modules
version: 0.28.1

python-unittest:
runs-on: ubuntu-latest
steps:
- name: Test with unittest
run: |
cd app/
Expand Down

0 comments on commit c0b02b6

Please sign in to comment.