Bump requests from 2.31.0 to 2.32.2 #1092
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: Test Code on macOS | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ dev, main ] | |
| jobs: | |
| test_code: | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| os: | |
| #- ubuntu-latest | |
| - macOS-latest | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | sudo bash - | |
| icon docker -ic --user-to-docker "" | |
| icon pt -ic | |
| ~/.local/bin/poetry lock --no-update | |
| ~/.local/bin/poetry env use python3 | |
| ~/.local/bin/poetry install -E all | |
| brew install libmagic | |
| brew link libmagic | |
| - name: Test with pytest | |
| run: | | |
| ~/.local/bin/poetry run pytest |