From d497a62f7f090f08b60e835697ceaf297345e490 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Sat, 22 Mar 2025 13:46:32 +0000 Subject: [PATCH] Create basic testing pipeline (#1) Reviewed-on: https://www.alexselimov.com/git/aselimov/code_rag/pulls/1 --- .gitea/workflows/tests.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 11143aa..aa0f9c9 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -6,5 +6,7 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest steps: - - run: python -m pip install --upgrade pip && pip install poetry - - run: poetry install && poetry run pytest -v + - run: pipx install poetry && sudo apt-get update &&sudo apt-get install python3-dev -y + - run: git clone https://www.alexselimov.com/git/aselimov/code_rag.git && cd code_rag && git checkout ${{ gitea.ref_name }} + - run: cd code_rag && /root/.local/bin/poetry install + - run: cd code_rag && /root/.local/bin/poetry run pytest -v