Skip to content

Bump actions/setup-python from 2 to 5 #96

Bump actions/setup-python from 2 to 5

Bump actions/setup-python from 2 to 5 #96

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@v3
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: |
pip install -r requirements.txt
pip install -e .
./scripts/wait-for-elastic.sh
- run: pytest