mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
25 lines
511 B
YAML
25 lines
511 B
YAML
name: Coverage
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/coverage.yml
|
|
- httpie/**/*.py
|
|
- setup.*
|
|
- tests/**/*.py
|
|
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.10"
|
|
- run: make install
|
|
- run: make test-cover
|
|
- run: make codecov-upload
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
|
|
- run: make test-dist
|