Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/RELEASE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v6
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v6
with:
python-version: "3.9"
python-version: "3.10"
cache: "poetry"
- name: Build project for distribution
run: poetry build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand All @@ -31,6 +32,8 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# The tests import swarms, so the package under test has to be installed.
python -m pip install -e . --no-deps
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-main-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Install dependencies
run: |
poetry install --with test --no-dev
poetry install --only main,test

- name: Set up environment variables
run: |
Expand All @@ -65,7 +65,6 @@ jobs:

- name: Run Main Features Tests
run: |
cd /Users/swarms_wd/Desktop/research/swarms
poetry run python tests/test_main_features.py

- name: Upload test results
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- uses: actions/checkout@v6
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ruff = "*"
pytest = "*"

[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"remote: tests that hit a real remote MCP server over the network",
]
Expand Down
Loading