Skip to content

Commit

Permalink
ci: update Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
tilman151 committed May 2, 2024
1 parent 6c870d4 commit 1845670
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/on_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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 }}
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 1845670

Please sign in to comment.