Skip to content

Commit

Permalink
chore: Update matrix Poetry versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed Oct 6, 2022
1 parent 771cf8a commit f2783b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -8,8 +8,8 @@ on: pull_request

env:
# JSON variables (used in our strategy/matrix)
SUPPORTED_POETRY_VERSIONS: '\"poetry-version\":[\"1.1.0\", \"1.1.10\", \"1.1.14\", \"1.2.0a2\", \"1.2.0b1\", \"1.2.0b2\", \"1.2.0b3\"]'
SUPPORTED_PYTHON_VERSIONS: '\"python-version\":[\"3.7\", \"3.9\", \"3.10.0-rc.2\"]'
SUPPORTED_POETRY_VERSIONS: '\"poetry-version\":[\"1.1.14\", \"1.2.1\"]'
SUPPORTED_PYTHON_VERSIONS: '\"python-version\":[\"3.7\", \"3.10\", \"3.11.0-rc.1\"]'
SUPPORTED_OPERATING_SYSTEMS: '\"os\":[\"ubuntu-latest\", \"macos-latest\", \"windows-latest\"]'

# Normal variables (used in steps/*)
Expand Down Expand Up @@ -139,6 +139,7 @@ jobs:
# feel free to update it
- run: |
source .github/scripts/assert.sh
echo "$(poetry --version)"
assert_in "${{ env.LATEST_POETRY }} "$(poetry --version)"
# Make sure scripts are not deleted.
Expand Down
2 changes: 1 addition & 1 deletion main.sh
Expand Up @@ -6,7 +6,7 @@ curl -sSL https://install.python-poetry.org/ --output "$installation_script"
if [ "${RUNNER_OS}" == "Windows" ]; then
path="C:/Users/runneradmin/AppData/Roaming/Python/Scripts"
else
path="$HOME/.local/"
path="$HOME/.local"
fi

echo -e "\n\033[33mSetting Poetry installation path as $path\033[0m\n"
Expand Down

0 comments on commit f2783b7

Please sign in to comment.