Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Sophie - Telegram Chat companion Plugin #246

Sophie - Telegram Chat companion Plugin

Sophie - Telegram Chat companion Plugin #246

Workflow file for this run

name: Python CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ format('ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run unittest tests with coverage
run: |
pytest --cov=autogpt_plugins --cov-report term-missing --cov-branch --cov-report xml --cov-report term
env:
CI: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3