fix(deps): update all minor dependencies #5020
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
| on: push | |
| name: Continuous Integration | |
| jobs: | |
| build: | |
| name: PyTest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4 | |
| with: | |
| python-version: 3.12 | |
| - name: Install poetry | |
| env: | |
| POETRY_VERSION: "1.7.1" | |
| run: pip install poetry==${POETRY_VERSION} poetry-plugin-sort && poetry --version | |
| - name: Use Python 3.12 for Poetry | |
| run: poetry env use python3.12 | |
| - name: Install requirements | |
| run: poetry install | |
| - name: Copy site-packages in workspace | |
| working-directory: ${{ github.workspace }} | |
| shell: bash | |
| run: | | |
| mkdir -p "${{ github.workspace }}/env/" && cp -fR $(poetry env list | poetry env info -p)/lib/python3.12/site-packages "${{ github.workspace }}/env/" | |
| - name: Bootstrap and run tests | |
| working-directory: ${{ github.workspace }} | |
| shell: bash | |
| run: poetry run ./scripts/run_tests.sh |