Merge pull request #441 from colecitrenbaum/main #574
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: | |
| branches: | |
| - main | |
| jobs: | |
| Workflow: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| # Select the Python versions to test against | |
| os: ["ubuntu-latest", "macos-latest"] | |
| python-version: ["3.10", "3.11", "3.12"] | |
| name: ${{ matrix.os }} with Python ${{ matrix.python-version }} | |
| steps: | |
| - name: Clone the reference repository | |
| uses: actions/checkout@v3.5.2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install -e '.[test]' | |
| - name: Run tests | |
| run: pytest --cov=./ |