Skip to content

Commit

Permalink
Adding CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0x9900 committed Jan 28, 2024
1 parent 9e5d8ce commit 2edacce
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Code Analysis

on:
- push

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: "3.10"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pylint PyYAML DXEntity
- name: Analysing the code with pylint
continue-on-error: false
run: |
pylint $(git ls-files "*.py")
- name: Running flake8
continue-on-error: false
run: |
flake8 $(git ls-files "*.py")

0 comments on commit 2edacce

Please sign in to comment.