Skip to content

Commit

Permalink
Merge branch 'main' into cli-support
Browse files Browse the repository at this point in the history
  • Loading branch information
ModernMAK committed Oct 15, 2023
2 parents a6ba329 + bc7fdb9 commit 73769e9
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,25 @@
name: Pylint

on:
workflow_dispatch:

push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'src/relic/**'
- '.github/workflows/pylint.yml'
- '.pylintrc'
- 'requirements.txt'
pull_request:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'src/relic/**'
- '.github/workflows/pylint.yml'
- '.pylintrc'
- 'requirements.txt'

jobs:
pylint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
name: Pylint ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- 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
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install pylint
- name: Run Pylint
run: |
pylint src
uses: MAK-Relic-Tool/Workflows/.github/workflows/pylint.yml@main
with:
path: "src"

0 comments on commit 73769e9

Please sign in to comment.