Skip to content

add brat serializer config #410

add brat serializer config

add brat serializer config #410

Workflow file for this run

# This workflow will install PyTorch for CPU and other Python dependencies and run unit tests and test for
# basic commands that are marked as "not slow" (in both cases).
name: tests
on:
pull_request: {}
push:
branches: main
tags: "*"
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: show previous workflow conclusion
run: echo ${{ github.event.workflow_run.conclusion }}
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- name: Run tests with coverage
run: |
pytest -k "not slow" --cov --cov-report term-missing