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:
|
2022-03-03 17:16:56 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-06-09 19:04:06 +02:00
|
|
|
- uses: actions/setup-python@v4
|
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
|