old scipy workflow #251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build and test with Docker | |
run: | | |
docker build --tag scispacy . | |
docker run --rm scispacy pytest tests/ | |
docker run --rm scispacy flake8 scispacy | |
docker run --rm scispacy black scispacy --check --line-length 88 | |
docker run --rm scispacy bash scripts/mypy.sh | |
docker run --rm scispacy pytest tests/ --cov scispacy --cov-fail-under=20 |