Skip to content

Separate out test workflows for changed files check vs. full test suite #2

Separate out test workflows for changed files check vs. full test suite

Separate out test workflows for changed files check vs. full test suite #2

Workflow file for this run

name: 'Citation Check'
on:
# Run only when commits are pushed to a branch or a PR that modifies a .cff file
push:
paths:
- '**/*.cff'
pull_request:
paths:
- '**/*.cff'
# Allow manual triggering
workflow_dispatch:
jobs:
citation_check:
name: 'Check Citation'
runs-on: ubuntu-latest
steps:
- name: 'Check out the repo'
uses: actions/checkout@v4
- name: 'Setup Python'
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: 'Check citation'
run: |
pip install cffconvert
make check_citation