Skip to content

Commit

Permalink
ci: split lint workflow to test multiple python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jul 15, 2024
1 parent 92ba756 commit 39d4213
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@ on:
- '**.py'
- 'pyproject.toml'
- 'pylintrc'
- '.github/workflows/**.yml'
pull_request:
paths:
- '**.py'
- 'pyproject.toml'
- 'pylintrc'
- '.github/workflows/**.yml'

jobs:

pylint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# minimum + latest
ver: ['3.8', '3.12']
container:
image: python:3.11-slim
image: python:${{ ver }}-slim
name: "pylint (Python ${{ ver }})"
steps:
- uses: actions/checkout@v3
- name: Install deps
Expand Down

0 comments on commit 39d4213

Please sign in to comment.