Skip to content

Add OpenAI as services #1360

Add OpenAI as services

Add OpenAI as services #1360

Workflow file for this run

name: Python Unittest Coverage
on: [push, pull_request]
jobs:
test:
if: false == contains(github.event.pull_request.title, 'WIP')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
python-version: ['3.9', '3.10', '3.11', '3.12']
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install Minimal Dependencies
run: |
pip install -q -e .
- name: Run import tests
run: |
python -c "import agentscope; print(agentscope.__version__)"
- name: Install Full Dependencies
run: |
pip install -q -e .[full]
pip install coverage
- name: Run tests with coverage
run: |
coverage run tests/run.py
- name: Generate coverage report
run: |
coverage report -m