Files
mfbatch/.github/workflows/pylint.yml
Jamie Hardt c4a2e380de Update pylint.yml
Adding 3.13 to test matrix
2024-10-16 14:30:09 -07:00

29 lines
683 B
YAML

name: Lint and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
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
pip install tqdm
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
- name: Testing with unittest
run: |
python -m unittest tests