Add failure retry for model inference requests #579
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
integ_test: | |
name: Integration Test | |
runs-on: ubuntu-22.04 | |
env: | |
RUNTIME_TAG: ci_job | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install Python Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.4.2 | |
- name: Configure poetry | |
shell: bash | |
run: poetry config virtualenvs.in-project true | |
- name: Print Python environment information | |
run: | | |
poetry env info | |
poetry --version | |
poetry run pip -V | |
- name: Install dependencies | |
run: | | |
# Install main dependencies first so we can see their size | |
poetry install --all-extras | |
- name: Test with pytest | |
run: | | |
poetry run pytest -v tests/integ |