2022-01-26 10:49:27 +01:00
|
|
|
name: Coverage
|
|
|
|
|
2021-09-08 16:41:55 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- .github/workflows/coverage.yml
|
|
|
|
- httpie/**/*.py
|
|
|
|
- setup.*
|
|
|
|
- tests/**/*.py
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
coverage:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-03-01 15:17:41 +01:00
|
|
|
- uses: actions/setup-python@v3
|
2021-09-08 16:41:55 +02:00
|
|
|
with:
|
2021-10-05 21:30:28 +02:00
|
|
|
python-version: "3.10"
|
2021-09-08 16:41:55 +02:00
|
|
|
- run: make install
|
|
|
|
- run: make test-cover
|
|
|
|
- run: make codecov-upload
|
|
|
|
env:
|
|
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
|
|
|
|
- run: make test-dist
|