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 a7370de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 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,7 +139,8 @@ jobs:
# feel free to update it
- run: |
source .github/scripts/assert.sh
assert_in "${{ env.LATEST_POETRY }} "$(poetry --version)"
echo "$(poetry --version)"
assert_in "${{ env.LATEST_POETRY }}" "$(poetry --version)"
# Make sure scripts are not deleted.
# If we deleted the scripts folder (or subfolders) by accident,
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 a7370de

Please sign in to comment.