Skip to content

Commit

Permalink
Update path properly in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
StarQTius committed Sep 30, 2023
1 parent fcc1d71 commit 334c4a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- run: sudo apt install ccache python3.11-dev python3.11-venv
- run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20
- run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry sudo python3.11 -
- run: export PATH=/usr/local/poetry/bin:$PATH
- run: curl -sSL https://install.python-poetry.org | python3.11 -
- run: echo "~/.local/share/pypoetry/bin" >> $GITHUB_PATH
- run: poetry install
- run: poetry run pytest -s --timeout 3
6 changes: 3 additions & 3 deletions .github/workflows/CheckInstallation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
- uses: actions/checkout@v2
- run: sudo apt install ccache python3.11-dev python3.11-venv
- run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20
- run: curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry sudo python3.11 -
- run: export PATH=/usr/local/poetry/bin:$PATH
- run: curl -sSL https://install.python-poetry.org | python3.11 -
- run: echo "~/.local/share/pypoetry/bin" >> $GITHUB_PATH
- run: poetry install
- run: >-
echo '
Expand All @@ -17,4 +17,4 @@ jobs:
error
banner
panic
' | python3 examples/demo.py
' | poetry run python3 examples/demo.py

0 comments on commit 334c4a8

Please sign in to comment.