Skip to content

Update publish workflow to trusted publisher #236

Update publish workflow to trusted publisher

Update publish workflow to trusted publisher #236

Workflow file for this run

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