Run poetry update to resolve some security issues
#90
Workflow file for this run
This file contains hidden or 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
| name: Check poetry install macOS Apple Silicon | |
| on: [push] | |
| permissions: | |
| contents: read | |
| env: | |
| SKIP_RENDERING: "true" | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Assert poetry.lock exists | |
| run: | | |
| if [ ! -f poetry.lock ]; then | |
| echo "Error: poetry.lock not found!" | |
| exit 1 | |
| fi | |
| - name: Install pipx and poetry | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pipx | |
| pipx install poetry | |
| - name: Install dependencies with poetry | |
| run: | | |
| poetry install --extras=dev --extras=examples | |
| - name: Run tests | |
| run: | | |
| poetry run pytest |