Skip to content

Commit

Permalink
move install into separate stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Siegel committed Aug 2, 2024
1 parent e8d4aca commit f5a5aab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/services-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,17 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Test with pytest
- name: Install deps into a virtual enviroment
run: |
python -m pip install --upgrade pip
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install poetry
cd services/inference
poetry install -n --with dev
- name: Test local server inference service with pytest
run: |
source .venv/bin/activate
make start_service_local
sleep 20
pytest tests
Expand Down

0 comments on commit f5a5aab

Please sign in to comment.