Skip to content

Commit

Permalink
CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Nov 20, 2024
1 parent 84ae0ca commit f5fa0a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
runtime: ["autogen", "ag2", "autogen-04dev"]
fail-fast: false
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
runtime: ["autogen", "ag2", "autogen-04dev"]
fail-fast: false
uses: ./.github/workflows/test.yaml
with:
Expand All @@ -61,6 +63,7 @@ jobs:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
runtime: ["autogen"]
fail-fast: false
uses: ./.github/workflows/test-playwright.yaml
with:
Expand All @@ -74,6 +77,7 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
runtime: "autogen"
environment: testing
use-llms: "anthropic"
secrets: inherit # pragma: allowlist secret
Expand All @@ -82,6 +86,7 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
runtime: "autogen"
environment: testing
use-llms: "azure_oai"
secrets: inherit # pragma: allowlist secret
Expand All @@ -90,6 +95,7 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
runtime: "autogen"
environment: testing
use-llms: "openai"
secrets: inherit # pragma: allowlist secret
Expand All @@ -98,6 +104,7 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
runtime: "autogen"
environment: testing
use-llms: "togetherai"
secrets: inherit # pragma: allowlist secret
Expand All @@ -106,6 +113,7 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
runtime: "autogen"
environment: testing
use-llms: "llm"
secrets: inherit # pragma: allowlist secret
Expand All @@ -124,7 +132,7 @@ jobs:

- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install .[submodules,docs,testing]
run: pip install .[autogen,submodules,docs,testing]
- name: Test
run: bash scripts/test.sh -m "not (nats or anthropic or azure_oai or openai or togetherai or llm)"

Expand All @@ -142,7 +150,7 @@ jobs:

- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install .[submodules,docs,testing]
run: pip install .[autogen,submodules,docs,testing]
- name: Test
run: bash scripts/test.sh -m "not (nats or anthropic or azure_oai or openai or togetherai or llm)"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
description: 'Python version to run the tests in'
required: true
type: string
runtime:
description: 'Runtime to run the tests in (autogen, ag2, autogen-04dev)'
required: true
type: string
use-llms:
description: 'Use LLM in the tests'
required: false
Expand Down

0 comments on commit f5fa0a3

Please sign in to comment.