From d41364537b8aa71baa209eeb38d82eb01387f1d2 Mon Sep 17 00:00:00 2001 From: "Carlos D. Escobar-Valbuena" Date: Fri, 26 Jan 2024 01:14:09 -0500 Subject: [PATCH] updated ci with poetry --- .github/workflows/python-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index f8fe97f..f163b40 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -48,7 +48,8 @@ jobs: python -m pip install --upgrade pip pip install pytest pip install black pylint - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install poetry + poetry install - name: Modify Files using Current Branch Name run: | if [[ ${{ github.ref }} == 'refs/heads/main' ]]; then @@ -105,4 +106,6 @@ jobs: # release-type: node # package-name: release-please-action - # pylint --disable=all --enable=unused-import $(git ls-files '*.py') \ No newline at end of file + # pylint --disable=all --enable=unused-import $(git ls-files '*.py') + + # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi \ No newline at end of file