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 f99d96c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
- 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: poetry install
- run: poetry run pytest -s --timeout 3
- run: echo "/usr/local/poetry/bin" >> $GITHUB_PATH
- run: /usr/local/poetry/bin/poetry install
- run: /usr/local/poetry/bin/poetry run pytest -s --timeout 3
5 changes: 2 additions & 3 deletions .github/workflows/CheckInstallation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:
- 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: poetry install
- run: /usr/local/poetry/bin/poetry install
- run: >-
echo '
alert
timmed_alert
error
banner
panic
' | python3 examples/demo.py
' | /usr/local/poetry/bin/poetry python3 examples/demo.py

0 comments on commit f99d96c

Please sign in to comment.