Skip to content

Merge pull request #1 from FairNLP/docstrings-and-typing #12

Merge pull request #1 from FairNLP/docstrings-and-typing

Merge pull request #1 from FairNLP/docstrings-and-typing #12

Workflow file for this run

name: Python Tests
on:
push:
branches:
- *

Check failure on line 6 in .github/workflows/pytest.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pytest.yaml

Invalid workflow file

You have an error in your yaml syntax on line 6
pull_request:
branches:
- *
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
# TODO decouple the test and training dependencies
run: |
python -m pip install --upgrade pip
pip install .[test,training]
- name: Run tests
run: |
pytest ./tests