forked from extern/httpie-cli
4c8633c6e5
* Split the monolithic workflow into specific ones * Rename workflows, improve commands * Update pip from the venv * Fix Windows setup * Lowercase macos-latest * Fix Windows run, again
25 lines
508 B
YAML
25 lines
508 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.9
|
|
- run: make install
|
|
- run: make test-cover
|
|
- run: make codecov-upload
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
|
|
- run: make test-dist
|