Skip to content

Commit

Permalink
properly run e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Dec 1, 2024
1 parent b642c75 commit 519078e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,14 @@ jobs:
run: hatch run lint:all

- name: Run tests
run: hatch run cov
run: hatch run cov -m"not e2e"

- if: matrix.python-version == '3.12'
name: End-to-end
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
run: hatch run test -m"e2e"

- if: matrix.python-version == '3.12'
name: Report Coveralls
Expand All @@ -79,7 +86,7 @@ jobs:
run: pip install --upgrade hatch

- name: Run tests
run: hatch run test
run: hatch run test -m"not e2e"

windows:
name: Python ${{ matrix.python-version }} on Windows
Expand All @@ -102,4 +109,4 @@ jobs:
run: pip install --upgrade hatch

- name: Run tests
run: hatch run test
run: hatch run test -m"not e2e"

0 comments on commit 519078e

Please sign in to comment.