ci: modified to test in multiple python versions, and windows #30
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' | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: ['ubuntu', 'windows'] | |
| pyver: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
| exclude: | |
| - os: 'windows' | |
| pyver: '3.8' | |
| - os: 'windows' | |
| pyver: '3.9' | |
| - os: 'windows' | |
| pyver: '3.10' | |
| - os: 'windows' | |
| pyver: '3.11' | |
| runs-on: ${{ matrix.os }}-latest | |
| name: ${{ matrix.os }} | ${{ matrix.pyver }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.pyver }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.pyver }} | |
| - name: Check Install | |
| run: make venv | |
| - name: Run tests | |
| run: make test |