Skip to content

Bump click from 8.0.1 to 8.1.5 #353

Bump click from 8.0.1 to 8.1.5

Bump click from 8.0.1 to 8.1.5 #353

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.9, 3.8]
poetry-version: [1.1.7]
env:
IS_COVERAGE_ALLOWED: ${{ secrets.CODACY_PROJECT_TOKEN != '' }}
IS_MASTER_BRANCH: ${{ github.ref == 'refs/heads/master' }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install pip dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --cov-report xml --cov=autopr test/ -v
lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.7
- name: Install pip dependencies
run: poetry install
- name: Run pre-commit
run: poetry run pre-commit run --all-files --show-diff-on-failure