Skip to content

added this hook to pre-commit #35

added this hook to pre-commit

added this hook to pre-commit #35

Workflow file for this run

name: Unit tests
on:
push:
branches:
- "**"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v3
with:
python-version: "3.7"
- name: Add annotation_checker to PYTHONPATH
run: |
echo "PYTHONPATH=$PYTHONPATH:$PWD/annotation_checker" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Test with pytest
run: |
pytest tests/unit_tests.py