mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-25 09:54:23 +01:00
CI: Ensure compatability with Python 3.10 & 3.11 --------- Co-authored-by: Reinier van der Leer <github@pwuts.nl>
32 lines
722 B
YAML
32 lines
722 B
YAML
name: benchmark
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
environment: benchmark
|
|
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: benchmark
|
|
run: |
|
|
python benchmark/benchmark_entrepeneur_gpt_with_undecisive_user.py
|
|
env:
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|