Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.

fix: all failing tests; #15

fix: all failing tests;

fix: all failing tests; #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Check out the code
- name: Checkout code
uses: actions/checkout@v2
# Set up Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Run tests and collect coverage data
- name: Run tests and collect coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY_TEST }}
run: |
coverage run -m pytest
coverage report
coverage html
# Upload coverage data to Coveralls
- name: Upload coverage to Coveralls
run: |
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_TOKEN: ${{ secrets.COVERALLS_SUPPLAI_LLM_API_TOKEN }}