Skip to content

Format with black

Format with black #338

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Test:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os:
- ubuntu-22.04
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v4
- name: "Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
pyproject.toml
requirements*txt
- run: "pip install -e . -r requirements-test.txt"
- run: py.test -vvv --cov .
- uses: codecov/codecov-action@v3
Lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: pip
cache-dependency-path: |
pyproject.toml
requirements*txt
- uses: pre-commit/[email protected]
Build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install -U build
- run: python -m build .