Skip to content

[13-2] Implement class interface to Hermite functions #65

[13-2] Implement class interface to Hermite functions

[13-2] Implement class interface to Hermite functions #65

Workflow file for this run

name: Build, Check, and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Make
run: sudo apt-get install make
- name: Install dependencies and Build package
run: |
make install-ci
- name: Run format check
run: |
make black-check
- name: Run import sort check
run: |
make isort-check
- name: Run pyright static type check
run: |
make pyright-check
- name: Run mypy static type check
run: |
make mypy-check
- name: Run pycodestyle check
run: |
make pycodestyle-check
- name: Run ruff lint check
run: |
make ruff-check
- name: Run Cython check
run: |
make cython-check
- name: Run tests
run: |
make test-xmlcov
- name: Upload coverage report
uses: codecov/codecov-action@v4.0.1
with:
file: ./coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}