Skip to content

Added reference for PyLint plugin #47

Added reference for PyLint plugin

Added reference for PyLint plugin #47

Workflow file for this run

---
name: Test
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
jobs:
tests:
name: Tests with python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-2.7"
- "pypy-3.7"
- "pypy-3.8"
steps:
- uses: actions/checkout@v3
- name: Set up python version ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install project and deps
run: |
pip install "mock; python_version>='2.7' and python_version<'2.8'"
pip install .
- name: Run tests
run: |
python test_eradicate.py
# Integration:
python -m eradicate setup.py
eradicate setup.py
coverage:
name: Run tests with coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
- name: Install project and deps
run: |
pip install coverage
pip install .
- name: Run test with coverage
run: |
coverage run --include='eradicate.py,test_eradicate.py' test_eradicate.py
coverage report --show-missing
windows:
name: Tests with python ${{ matrix.python-version }} on Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up python version ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install project and deps
run: python setup.py install
- name: Run tests
run: |
python test_eradicate.py
# Integration:
python -m eradicate setup.py
eradicate setup.py
python2:
name: Tests with python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "2.7"
steps:
- uses: actions/checkout@v3
- name: Set up python version ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install project and deps
run: |
pip install mock
python setup.py install
- name: Run tests
run: |
python test_eradicate.py
# Integration:
python -m eradicate setup.py
eradicate setup.py