Bump pytest-asyncio from 0.19.0 to 0.22.0 #591
Workflow file for this run
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: | |
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 poetry | |
uses: Gr1N/setup-poetry@v8 | |
with: | |
poetry-version: 1.4.2 | |
- name: Install dependencies | |
run: poetry install --all-extras --with dev | |
# Tests in Origami 1.0 alpha rc are end-to-end, need a live Noteable app. | |
# Commenting tests out until we have time to configure Github repo with service account | |
# access token and other settings so it can interact with Noteable from CI tests | |
# - name: Run tests with pytest | |
# run: pytest -v --cov=origami | |
# - 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 poetry | |
uses: Gr1N/setup-poetry@v8 | |
with: | |
poetry-version: 1.4.2 | |
- name: Install dependencies | |
run: pip install flake8 black isort | |
- name: Lint with flake8 | |
run: flake8 origami --count --show-source --statistics --benchmark | |
- name: Check with black | |
run: black --check origami | |
- name: Check with isort | |
run: isort --diff --check origami |