Merge macOS port (PR #1) #3
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: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Create venv and install dependencies | |
| run: | | |
| python3.11 -m venv venv | |
| venv/bin/pip install --upgrade pip | |
| venv/bin/pip install -r requirements.txt -r requirements-dev.txt | |
| - name: Run pytest | |
| run: venv/bin/pytest -v |