aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/autogpts-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/autogpts-ci.yml')
-rw-r--r--.github/workflows/autogpts-ci.yml22
1 files changed, 19 insertions, 3 deletions
diff --git a/.github/workflows/autogpts-ci.yml b/.github/workflows/autogpts-ci.yml
index 4f89fb7c9..0385470ac 100644
--- a/.github/workflows/autogpts-ci.yml
+++ b/.github/workflows/autogpts-ci.yml
@@ -1,4 +1,4 @@
-name: Valid AutoGPTs
+name: AutoGPTs smoke test CI
on:
workflow_dispatch:
@@ -6,8 +6,24 @@ on:
- cron: '0 8 * * *'
push:
branches: [ master, development, ci-test* ]
+ paths:
+ - '.github/workflows/autogpts-ci.yml'
+ - 'autogpts/**'
+ - 'benchmark/**'
+ - 'run'
+ - 'cli.py'
+ - 'setup.py'
+ - '!**/*.md'
pull_request:
branches: [ master, development, release-* ]
+ paths:
+ - '.github/workflows/autogpts-ci.yml'
+ - 'autogpts/**'
+ - 'benchmark/**'
+ - 'run'
+ - 'cli.py'
+ - 'setup.py'
+ - '!**/*.md'
jobs:
run-tests:
@@ -17,13 +33,13 @@ jobs:
agent-name: [ autogpt, forge ]
fail-fast: false
timeout-minutes: 20
+ env:
+ min-python-version: '3.10'
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- ref: ${{ github.event.pull_request.head.ref }}
- repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
- name: Set up Python ${{ env.min-python-version }}