Skip to content

use pyproject.toml instead of setup.py #107

use pyproject.toml instead of setup.py

use pyproject.toml instead of setup.py #107

Workflow file for this run

name: "Test"
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.12']
services:
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
ports:
- 9200:9200
env:
discovery.type: single-node
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: |
python -m pip install -Ur requirements.txt
python -m pip install -U --editable .
./scripts/wait-for-elastic.sh
- run: pytest