diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b6795d..4e40e3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,11 +19,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest poetry + pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Install dependencies (poetry) - run: | - poetry self install + if [ -f pyproject.toml ]; then pip install .; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84f1e9f..9a2e8be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build poetry - - name: Install dependencies (poetry) - run: | - poetry self install + pip install build - name: Extract version from tag run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Update version in pyproject.toml