Skip to content

Remove appveyor_settings.py #331

Remove appveyor_settings.py

Remove appveyor_settings.py #331

Workflow file for this run

name: Test
on: ["push", "pull_request"]
jobs:
without-db:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
python: ['3.13']
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test
with:
python: ${{ matrix.python }}
database_enabled: false
os: ${{ matrix.os }}
with-db:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['2.7', '3.9', '3.10', '3.11', '3.12', '3.13']
services:
redis:
image: redis:7.2
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 5s
--health-timeout 2s
--health-retries 5
mysql:
image: mysql:8.0
env:
# same config must be in test_settings.py
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_USER: github
MYSQL_PASSWORD: github
MYSQL_DATABASE: grab_test
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -uroot -prootpassword"
--health-interval=5s
--health-timeout=2s
--health-retries=10
postgres:
image: postgres:16
env:
# same config must be in test_settings.py
POSTGRES_USER: github
POSTGRES_PASSWORD: github
POSTGRES_DB: grab_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U testuser"
--health-interval 5s
--health-timeout 2s
--health-retries 10
mongodb:
image: mongo:7.0
ports:
- 27017:27017
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/test
with:
python: ${{ matrix.python }}
database_enabled: true
os: 'ubuntu-latest'