Bump jupyter-server from 2.6.0 to 2.7.2 #12
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: # yamllint disable-line rule:truthy rule:comments | |
push: | |
branches: | |
- "main" | |
- "develop" | |
tags: | |
- "v*" | |
pull_request: ~ | |
jobs: | |
test: | |
name: "Run Tests" | |
runs-on: "ubuntu-20.04" | |
steps: | |
- name: "Check out repository code" | |
uses: "actions/checkout@v2" | |
- name: "Setup environment" | |
uses: "networktocode/gh-action-setup-poetry-environment@v4" | |
- name: "Run make tests" | |
run: "make tests" | |
publish: | |
name: "Publish to PyPI" | |
needs: | |
- "test" | |
runs-on: "ubuntu-20.04" | |
if: startsWith(github.ref, 'refs/tags/v') | |
steps: | |
- name: "Check out repository code" | |
uses: "actions/checkout@v2" | |
- name: "Setup environment" | |
uses: "networktocode/gh-action-setup-poetry-environment@v4" | |
- name: "Push to PyPI" | |
uses: "pypa/gh-action-pypi-publish@release/v1" | |
with: | |
user: "__token__" | |
password: "${{ secrets.PYPI_API_TOKEN }}" |