Skip to content

Commit

Permalink
Merge pull request #7 from Daripa-Research-Group/feature/github-workf…
Browse files Browse the repository at this point in the history
…lows

Feature/GitHub workflows
  • Loading branch information
carlosra0345 authored Sep 22, 2024
2 parents 0b7e277 + 8166d73 commit 655ffe6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: pipeline

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
3 changes: 3 additions & 0 deletions run_pylint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

pylint $(git ls-files '*.py')

0 comments on commit 655ffe6

Please sign in to comment.