Add Zenodo concept DOI (10.5281/zenodo.21316120) to CITATION.cff and … #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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| # gjr-garch-x 0.3.0 from git until it is published to PyPI; the | |
| # [speed] extra pulls numba, which the GARCH golden tests want. | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install "gjr-garch-x[speed] @ git+https://github.com/studiofarzulla/gjr-garch-x@master" | |
| pip install -e .[dev] | |
| - name: Run tests | |
| run: pytest -m "not fullb" -q | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install "gjr-garch-x @ git+https://github.com/studiofarzulla/gjr-garch-x@master" | |
| pip install -e .[dev] | |
| - name: Ruff | |
| run: ruff check src/ tests/ | |
| - name: Mypy | |
| run: mypy |