diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d510388..7fc699f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Build and test with Docker run: | docker build --tag scispacy . - docker run --rm scispacy pytest tests/ + docker run --rm scispacy pytest -vv 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 diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml new file mode 100644 index 0000000..f904b6d --- /dev/null +++ b/.github/workflows/old_scipy.yaml @@ -0,0 +1,17 @@ +name: CI (old scipy) + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Build and test with Docker using an older version of scipy + run: | + docker build --tag scispacy . + docker run --rm scispacy bash -c "pip install 'scipy<1.11' && pytest -vv tests/" \ No newline at end of file