Skip to content

feat: add mexico_nuevo_leon #3859

feat: add mexico_nuevo_leon

feat: add mexico_nuevo_leon #3859

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
cache-dependency-path: '**/requirements*.txt'
- run: pip install -r requirements_dev.txt
- env:
KINGFISHER_COLLECT_DATABASE_URL: postgresql://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres
# Use 127.0.0.1 to avoid log messages about IPv6.
RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }}
KINGFISHER_API2_TEST_URL: http://localhost:${{ job.services.httpbin.ports[8080] }}/anything/
# For requests.post() in KingfisherProcessAPI2._post_synchronous().
# https://github.com/scrapy/scrapy/issues/6450
run: coverage run --source=kingfisher_scrapy -m pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:scrapy.core.downloader.webclient -rs
- run: python test_delayed_request_middleware.py
- uses: coverallsapp/github-action@v2
services:
postgres:
image: postgres:15
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432/tcp
rabbitmq:
image: rabbitmq:latest
options: >-
--health-cmd "rabbitmq-diagnostics -q check_running"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5672/tcp
httpbin:
image: mccutchen/go-httpbin:latest
ports:
- 8080/tcp