From 156b93baf92fccd63d39c01cdf306504f35405b8 Mon Sep 17 00:00:00 2001 From: lucemia Date: Mon, 8 Jan 2024 09:34:44 +0800 Subject: [PATCH] only run coverall in 3.10 --- .github/workflows/python-package.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 0dcf400..f0fa4ba 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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: @@ -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