From 3b31bd0a29a4b501fdadaab9671aca9281a1b27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Judith=20S=C3=A1inz-Pardo=20D=C3=ADaz?= Date: Mon, 13 May 2024 13:48:11 +0200 Subject: [PATCH] Update cicd.yml --- .github/workflows/cicd.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 77052d6..d26d283 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -21,9 +21,15 @@ jobs: with: python-version: "3.10" + - name: Install and configure poetry + run: | + pip install poetry + poetry config virtualenvs.create false + poetry install + - name: Install dependencies run: | - python -m pip install --upgrade pip + pip install --upgrade pip pip install tox - name: Linting @@ -39,11 +45,11 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.12" + python-version: "3.9" - name: Install dependencies run: | - python -m pip install --upgrade pip + pip install --upgrade pip pip install tox - name: Testing @@ -63,7 +69,7 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip + pip install --upgrade pip pip install poetry - name: Build package