fix: Fix incorrect use of removeprefix on bytes instance #438
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: CI (Non-Linux) | |
on: [push, pull_request] | |
jobs: | |
build: | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: pip | |
cache-dependency-path: '**/requirements*.txt' | |
# Don't install editable projects in the current working directory. | |
# https://pip.pypa.io/en/latest/reference/pip_install/#install-src | |
- run: pip install --src $GITHUB_WORKSPACE/../src -r requirements_dev.txt | |
- env: | |
CI_SKIP: true | |
run: pytest -W error -rs --cov kingfisher_scrapy |