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 003832b
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,26 @@ jobs:
pipenv install --dev
- name: Run tests
run: pipenv run coverage run --source=twstock -m unittest
create-reports:
runs-on: ubuntu-latest
needs: build
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
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 003832b

Please sign in to comment.