doc: add elasticsearch commands #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pytest | |
on: | |
push: | |
branches: | |
- develop | |
- 'feature/**' | |
jobs: | |
pytest: | |
name: Run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: pip install poetry | |
- name: Add path for Poetry | |
run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH | |
- name: Install Dependencies | |
run: poetry install --no-interaction | |
- name: Run Tests | |
run: poetry run pytest |