From 549232e06d4892d2551f28fb5a092856bc28cd8d Mon Sep 17 00:00:00 2001 From: Louie Lu Date: Wed, 15 May 2024 23:14:06 -0400 Subject: [PATCH] Update CI to create only one report --- .github/workflows/ci.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5331901..e4a5059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,25 @@ jobs: pipenv install --dev - name: Run tests run: pipenv run coverage run --source=twstock -m unittest + create-reports: + runs-on: ubuntu-latest + needs: build + strategy: + matrix: + os: [ubuntu-latest] + python-version: ["3.12"] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup + run: | + pip install pipenv + pipenv install --dev + - name: Run tests + run: pipenv run coverage run --source=twstock -m unittest - name: Create reports - run: - | - pipenv run coveralls - pipenv run codecov + run: | + pipenv run coveralls + pipenv run codecov env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}