Add an option to remove unused requests from cassette #699
Workflow file for this run
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"] | |
steps: | |
- name: Install libgnutls28-dev | |
run: | | |
sudo apt update -q | |
sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev | |
- uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install project dependencies | |
run: | | |
pip install --upgrade pip | |
pip install codecov tox tox-gh-actions | |
- name: Run tests with tox | |
run: tox | |
- name: Run coverage | |
run: codecov |