Update requests-mock requirement from >=1.10.0 to >=1.12.1 #68
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: build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Using Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-dev.txt . | |
| - name: Run Unit Tests | |
| run: | | |
| coverage run -m pytest -v . | |
| - name: Run Lint | |
| run: | | |
| flake8 . | |
| - name: Upload Code Coverage | |
| if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }} | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |