Skip to content

build(deps-dev): bump black from 23.12.1 to 24.4.2 #229

build(deps-dev): bump black from 23.12.1 to 24.4.2

build(deps-dev): bump black from 23.12.1 to 24.4.2 #229

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches: [ main ]
jobs:
tests:
name: Unittest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
python: [ '3.10.x' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install Poetry
uses: abatilo/actions-poetry@v3
- name: Setup poetry cache
uses: actions/cache@v4
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: poetry install --no-root --with dev
- name: Run tests
run: poetry run pytest --cov=finq --cov-report=xml tests
- name: Upload coverage report
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}