Skip to content

Run tests in current branch. #166

Run tests in current branch.

Run tests in current branch. #166

Workflow file for this run

name: Tests
on:
push:
branches:
- upgrade-es-python-in-gh-actions
# - master
jobs:
install_and_run_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run Tests
run: pytest tests
# env:
# HUB_CONFIG: 'tests.test_config'
services:
Elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.15.3
env:
"discovery.type" : single-node
"xpack.security.enabled": false
ports:
- 9200:9200