Skip to content

Bump to 1.3.3a0

Bump to 1.3.3a0 #190

Workflow file for this run

name: Test
on:
push:
branches: [main]
paths-ignore:
- '*.md'
pull_request:
branches: [main]
paths-ignore:
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Cache Setup
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Lint with ruff
run: |
pip install ruff
ruff .
- name: Lint with black
run: |
pip install black
black --check src/
black --check test/
- name: Test with pytest
run: |
pip install pytest pytest-cov pytest-mock pytest-asyncio
pip install daemonocle click pytest-click
pip install coverage[toml]
pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml