diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 63931f0bf..b3acb15df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} @@ -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 @@ -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: | diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index e61b2abf8..aedf6167e 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -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 @@ -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: | diff --git a/swarmauri/__init__.py b/swarmauri/__init__.py index 17516cbe5..88e12f2ed 100644 --- a/swarmauri/__init__.py +++ b/swarmauri/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.9" +__version__ = "0.4.0" __long_desc__ = """ # swarmaURI sdk