Skip to content

Pair pytest with GitHub actions #8

Pair pytest with GitHub actions

Pair pytest with GitHub actions #8

name: Check_News
on:
pull_request:
paths-ignore:
- ".pre-commit-config.yaml"
jobs:
news:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install towncrier
- name: Check for news
run: python -m towncrier check --compare-with origin/main