fix: replace bare assert with user-friendly error in _guess_method #747
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v3 | |
| - uses: actions/setup-python@v4 | |
| 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 |