-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleaup some dependencies * Remove upper bound for click * upgrade actions * upgrade requirements docs * Add test for poetry --lock * fix poetry test * rename poetry test * fix * fix path * fix github env var * fix * fix poetry * Adopt changes from #2514 * increase poetry build time
- Loading branch information
1 parent
eb8599d
commit 6f1d4e8
Showing
10 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Poetry Test | ||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the main branch | ||
push: | ||
branches: | ||
- master | ||
- 'releases/**' | ||
pull_request: | ||
branches: | ||
- master | ||
- 'releases/**' | ||
jobs: | ||
poetry-build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: Install Poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python - | ||
echo "$HOME/.poetry/bin" >> $GITHUB_PATH | ||
- name: Create foo package | ||
run: | | ||
mkdir foo | ||
cat <<EOF > foo/pyproject.toml | ||
[tool.poetry] | ||
name = "foo" | ||
version = "1.0.0" | ||
authors = ["skypilot-bot"] | ||
description = "" | ||
[tool.poetry.dependencies] | ||
python = "3.10.x" | ||
[tool.poetry.group.dev.dependencies] | ||
skypilot = {git = "https://github.com/skypilot-org/skypilot.git", branch = "${{ github.head_ref }}"} | ||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
EOF | ||
- name: Check poetry lock time | ||
run: | | ||
cd foo | ||
poetry lock --no-update | ||
timeout-minutes: 2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.