Skip to content

Bump pylint from 2.11.1 to 2.17.6 #14

Bump pylint from 2.11.1 to 2.17.6

Bump pylint from 2.11.1 to 2.17.6 #14

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
inputs: {}
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- name: Checking out repo
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and upgrade dependencies
run: |
python -m pip install -U pip setuptools wheel
python3 -m pip install -U .[dev]
- name: Analysing the code with pylint
run: pylint singer
- name: Runs tests with coverage
run: coverage run --parallel -m pytest
- name: Upload coverage data
uses: actions/upload-artifact@v3
with:
name: coverage-data
path: ".coverage.*"
coverage:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install and upgrade dependencies
run: |
python -m pip install -U pip setuptools wheel
python3 -m pip install -U .[dev]
- name: Download coverage data
uses: actions/download-artifact@v3.0.0
with:
name: coverage-data
- name: Combine coverage data
run: |
coverage combine
- name: Generate XML coverage report
run: |
coverage xml
- name: Display human readable report
run: |
coverage report
# Optional if you want to use codecov.io
# - name: Upload coverage report
# uses: codecov/codecov-action@v3