Skip to content

Commit 02c49ec

Browse files
committed
Release 0.8.14b1
1 parent 488815c commit 02c49ec

File tree

1 file changed

+4
-36
lines changed

1 file changed

+4
-36
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.12
13+
python-version: 3.8
1414
- name: Bootstrap poetry
1515
run: |
1616
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up python
2727
uses: actions/setup-python@v4
2828
with:
29-
python-version: 3.9
29+
python-version: 3.8
3030
- name: Bootstrap poetry
3131
run: |
3232
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -35,41 +35,9 @@ jobs:
3535

3636
- name: Test
3737
run: poetry run pytest -rP .
38-
env:
39-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
40-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
41-
REPLICATE_API_KEY: ${{ secrets.REPLICATE_API_KEY }}
42-
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
43-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
44-
test_3_12:
45-
# Run the test suite with Python 3.12 too
46-
# Some tool decorator tests assert the ability to parse the signature
47-
# of functions that use typing features introduced in Python 3.10 e.g. '|'
48-
runs-on: ubuntu-20.04
49-
steps:
50-
- name: Checkout repo
51-
uses: actions/checkout@v3
52-
- name: Set up python
53-
uses: actions/setup-python@v4
54-
with:
55-
python-version: 3.12
56-
- name: Bootstrap poetry
57-
run: |
58-
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
59-
- name: Install dependencies
60-
run: poetry install
61-
62-
- name: Test
63-
run: poetry run pytest -rP .
64-
env:
65-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
66-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
67-
REPLICATE_API_KEY: ${{ secrets.REPLICATE_API_KEY }}
68-
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
69-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
7038

7139
publish:
72-
needs: [compile, test, test_3_12]
40+
needs: [compile, test]
7341
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
7442
runs-on: ubuntu-20.04
7543
steps:
@@ -78,7 +46,7 @@ jobs:
7846
- name: Set up python
7947
uses: actions/setup-python@v4
8048
with:
81-
python-version: 3.9
49+
python-version: 3.8
8250
- name: Bootstrap poetry
8351
run: |
8452
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1

0 commit comments

Comments
 (0)