From 1845670c7257f963e06f9aaa2035d86fc08fd64a Mon Sep 17 00:00:00 2001 From: Tilman Krokotsch Date: Thu, 2 May 2024 10:20:36 +0200 Subject: [PATCH] ci: update Poetry --- .github/workflows/lint.yaml | 6 +++--- .github/workflows/on_release.yaml | 6 +++--- .github/workflows/test.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index cfd9316..2668d41 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry run black --check rul_datasets lint-flake8: @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry run flake8 rul_datasets lint-mypy: @@ -27,5 +27,5 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry run mypy rul_datasets diff --git a/.github/workflows/on_release.yaml b/.github/workflows/on_release.yaml index 80bd07a..a1cd154 100644 --- a/.github/workflows/on_release.yaml +++ b/.github/workflows/on_release.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry install - run: pipx inject poetry poetry-bumpversion - run: poetry config repositories.testpypi https://test.pypi.org/legacy/ @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry install - run: pipx inject poetry poetry-bumpversion - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} @@ -57,6 +57,6 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry install --with docs - run: poetry run mkdocs gh-deploy --force \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fe387bc..81b1e0a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry run pytest -m "not needs_data" tests legacy-unit-test: @@ -19,6 +19,6 @@ jobs: - uses: actions/checkout@v3 - uses: ./.github/actions/install-poetry with: - poetry-version: "1.2.2" + poetry-version: "1.7.1" - run: poetry run pip install "pytorch-lightning<2.0.0" - run: poetry run pytest -m "not needs_data" tests