Skip to content

[WIP] Migrate to origami 1.0.0 #593

[WIP] Migrate to origami 1.0.0

[WIP] Migrate to origami 1.0.0 #593

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup nox
uses: daisylb/[email protected]
- name: Setup poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.4.1
- name: Install dependencies
run: |
poetry install --all-extras --with dev
# Disable tests while papermill-origami is being migrated to use
# noteable-origami 1.x
# - name: Run tests
# run: nox -s test-${{ matrix.python_version }}
# - name: Generate coverage XML
# run: nox -s generate_coverage_xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup nox
uses: daisylb/[email protected]
- name: Setup poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.4.1
- name: Install dependencies
run: |
poetry install --all-extras --with dev
pip install nox-poetry
- name: Run lint
run: nox -s lint