Skip to content

Fix locale override regression #21

Fix locale override regression

Fix locale override regression #21

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.11", "3.12", "3.13", "3.14" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Install the package itself (editable for local import)
pip install -e .
# Test tools
pip install pytest pytest-cov
- name: Run tests
env:
PYTHONUNBUFFERED: "1"
run: |
pytest -q --maxfail=1 --disable-warnings \
--cov=google_play_scraper \
--cov-report=term-missing \
--cov-report=xml:coverage.xml \
--cov-report=html
- name: Upload coverage report (artifact)
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-${{ matrix.python-version }}-${{ matrix.os }}
path: |
coverage.xml
htmlcov
if-no-files-found: warn