From f5a5aabe4824705f8cf1baa2e44c1cbb3745ea4a Mon Sep 17 00:00:00 2001 From: Stuart Siegel Date: Thu, 1 Aug 2024 21:49:22 -0400 Subject: [PATCH] move install into separate stage --- .github/workflows/services-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/services-test.yml b/.github/workflows/services-test.yml index db07a1a0..7b630c63 100644 --- a/.github/workflows/services-test.yml +++ b/.github/workflows/services-test.yml @@ -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