Skip to content

refac: separando fixture do client OpenAI de suas funcionalidades #6

refac: separando fixture do client OpenAI de suas funcionalidades

refac: separando fixture do client OpenAI de suas funcionalidades #6

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.11"
- "3.12"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run task test --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}