Skip to content

Bump black from 24.3.0 to 24.4.2 (#284) #345

Bump black from 24.3.0 to 24.4.2 (#284)

Bump black from 24.3.0 to 24.4.2 (#284) #345

Workflow file for this run

name: CI
on:
push:
branches: [master]
tags: ['*']
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8
- 3.9
- "3.10"
- 3.11
- 3.12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
with:
version: 1.8.2
- name: Show environment info
run: |
python --version
pip --version
poetry --version
poetry config --list
- name: Setup dependencies cache
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
poetry install
pip install codecov
- name: Run lint
run: make lint
- name: Run tests
run: make test
- name: Upload coverage data
run: codecov