Skip to content

Add make_searchable metadata argument example #17

Add make_searchable metadata argument example

Add make_searchable metadata argument example #17

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
env:
POSTGRES_DB: sqlalchemy_searchable_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
strategy:
fail-fast: false
matrix:
include:
- name: "Python 3.11"
python: "3.11"
- name: "Python 3.10"
python: "3.10"
- name: "Python 3.9"
python: "3.9"
- name: "Python 3.8"
python: "3.8"
- name: "PyPy"
python: "pypy3.9"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade tox setuptools
- name: Run tests
env:
SQLALCHEMY_SEARCHABLE_TEST_PASSWORD: postgres
TOXENV: py-sqla1.4
run: tox