Skip to content

Removes ipykernel

Removes ipykernel #108

Workflow file for this run

name: Create PR, quality checks
on:
push:
branches-ignore:
- main
jobs:
create-pr:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Fetch repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Merge ${{ github.ref_name }} -> main
branch: ${{ github.ref }}
base: main
quality:
runs-on: ubuntu-latest
permissions: read-all
needs: create-pr
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Fetch repo
uses: actions/checkout@v3
- name: Install poetry
shell: bash
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Configure poetry
shell: bash
run: poetry config virtualenvs.in-project true
- name: Install dependencies
shell: bash
run: poetry install
- name: Linting
shell: bash
run: poetry run pre-commit run --all-files
- name: Run unit tests
shell: bash
run: poetry run pytest