Update classifiers in pyproject.toml #56
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: CI | |
| on: | |
| push: | |
| branches: [develop, master] | |
| pull_request: | |
| branches: [develop] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Prepare venv | |
| run: | | |
| pip install --upgrade pip | |
| python -m venv venv | |
| - name: Activate venv (Linux) | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| run: source ./venv/bin/activate | |
| - name: Activate venv (Windows) | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| run: .\venv\Scripts\activate.ps1 | |
| - name: Install library (in editable mode to measure coverage) | |
| run: pip install -e ./ --verbose | |
| - name: Install test dependencies | |
| run: pip install scipy coverage | |
| - name: Execute tests and generate code coverage data | |
| run: | | |
| python -m coverage run --source ./pylanczos/ -m unittest discover ./test -v | |
| python -m coverage report | |
| python -m coverage xml | |
| - name: Upload coverage data to Codecov | |
| if: ${{ matrix.os == 'ubuntu-latest' }} | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: true |