Skip to content

Commit 2ff9c09

Browse files
authored
Remove langchain tests
1 parent 27e4a7b commit 2ff9c09

1 file changed

Lines changed: 0 additions & 51 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -43,57 +43,6 @@ jobs:
4343
env:
4444
CO_API_KEY: ${{ secrets.COHERE_API_KEY }}
4545

46-
test-langchain-cohere:
47-
runs-on: ubuntu-latest
48-
steps:
49-
- name: Checkout repo
50-
uses: actions/checkout@v3
51-
- name: Set up python
52-
uses: actions/setup-python@v4
53-
with:
54-
python-version: 3.10.14
55-
- name: Install and configure Poetry
56-
uses: snok/install-poetry@v1
57-
with:
58-
version: 1.5.1
59-
virtualenvs-in-project: false
60-
- name: Install dependencies
61-
run: poetry install
62-
- name: Test langchain-cohere
63-
run: |
64-
echo "Initial dir $(pwd)"
65-
cd ..
66-
echo "Cloning langchain-cohere..."
67-
git clone https://github.com/langchain-ai/langchain-cohere.git && cd langchain-cohere/libs/cohere
68-
echo "Cloned langchain-cohere, current dir $(pwd)"
69-
70-
echo "poetry install --with test,test_integration"
71-
poetry install --with test,test_integration
72-
73-
echo "Going to uninstall cohere package, and install the current version from the repo"
74-
75-
poetry remove cohere
76-
poetry add ../../../cohere-python
77-
78-
echo "Current cohere installation: $(poetry show cohere)"
79-
make test
80-
make integration_test
81-
echo "tests passed"
82-
83-
# reset poetry changes
84-
git checkout -- poetry.lock pyproject.toml
85-
86-
set -eu
87-
88-
STATUS="$(git status)"
89-
echo "$STATUS"
90-
91-
# grep will exit non-zero if the target message isn't found,
92-
# and `set -e` above will cause the step to fail.
93-
echo "$STATUS" | grep 'nothing to commit, working tree clean'
94-
env:
95-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
96-
9746
publish:
9847
needs: [compile, test]
9948
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)