From 4befd49c97480146fe3922c473a94fa984c65559 Mon Sep 17 00:00:00 2001 From: Timotej979 Date: Thu, 11 Apr 2024 14:01:45 +0200 Subject: [PATCH] Modify workflows to potentialy pass (#1) --- .github/workflows/dal_test.yml | 7 ++++--- .github/workflows/e2e_test.yml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dal_test.yml b/.github/workflows/dal_test.yml index 86211dc..2fdf5f0 100644 --- a/.github/workflows/dal_test.yml +++ b/.github/workflows/dal_test.yml @@ -21,16 +21,17 @@ jobs: with: python-version: 3.11 - - name: Move to the ./backend directory + - name: Move to the ./Project/backend directory run: cd ./Project/backend - name: Install python dependencies run: | python -m pip install --upgrade pip pip install poetry - poetry install + poetry config virtualenvs.in-project true --local && + poetry install --only main - - name: Move to ./dal directory + - name: Move to ./Project/backend/dal directory run: cd ./Project/backend/dal - name: Run pytest diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml index 65449d9..66c1e78 100644 --- a/.github/workflows/e2e_test.yml +++ b/.github/workflows/e2e_test.yml @@ -16,6 +16,9 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Move to ./Project directory + run: cd ./Project + - name: Build the services run: docker compose build