Skip to content

Commit

Permalink
only run coverall in 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed Jan 8, 2024
1 parent 7df3afa commit 156b93b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: python-unittest
on:
push:
Expand Down Expand Up @@ -37,5 +34,7 @@ jobs:
poetry run pytest ./src --cov=./src --record-mode=none
env: # Or as an environment variable
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

- name: Coveralls
if: matrix.python-version == '3.10'
uses: coverallsapp/github-action@v2

0 comments on commit 156b93b

Please sign in to comment.