Bump remark-lint-list-item-spacing from 4.1.0 to 5.0.0 #411
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.9, 3.8] | |
poetry-version: [1.3.1] | |
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-20.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.3.1 | |
- name: Install pip dependencies | |
run: poetry install | |
- name: Run pre-commit | |
run: poetry run pre-commit run --all-files --show-diff-on-failure |