Skip to content

Bump remark-lint-no-duplicate-headings from 3.1.0 to 4.0.0 #442

Bump remark-lint-no-duplicate-headings from 3.1.0 to 4.0.0

Bump remark-lint-no-duplicate-headings from 3.1.0 to 4.0.0 #442

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.12, 3.9]
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