Skip to content

Commit

Permalink
Update CI to create only one report
Browse files Browse the repository at this point in the history
  • Loading branch information
mlouielu committed May 16, 2024
1 parent 265cf4b commit 549232e
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 549232e

Please sign in to comment.