Skip to content

Commit

Permalink
v3.9 => v4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cobycloud committed Jul 8, 2024
1 parent 794bac7 commit c08ad3a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PERPLEXITY_API_KEY: ${{ secrets.PERPLEXITY_API_KEY }}


steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -37,6 +38,8 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8 pytest
python -m pip install textblob
python -m textblob.download_corpora
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
Expand All @@ -56,6 +59,10 @@ jobs:
LATEST_WHL=$(ls dist/*.whl | sort -V | tail -n 1)
python -m pip install "$LATEST_WHL"[full]
- name: Get pip freeze
run: |
pip freeze
- name: Run tests
continue-on-error: true
run: |
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8 pytest pytest-cov
python -m pip install flake8 pytest
python -m pip install textblob
python -m textblob.download_corpora
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Expand All @@ -64,11 +64,6 @@ jobs:
run: |
pip freeze
# - name: Get test coverage measurement
# continue-on-error: true
# run: |
# pytest -v --junitxml=results.xml --cov=swarmauri tests

- name: Run tests
continue-on-error: true
run: |
Expand Down
2 changes: 1 addition & 1 deletion swarmauri/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.9"
__version__ = "0.4.0"
__long_desc__ = """
# swarmaURI sdk
Expand Down

0 comments on commit c08ad3a

Please sign in to comment.