Histogram estimator correction #89
This file contains 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: "Pull request" | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} π§ | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies π§ | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .['test'] | |
- name: Test with pytest π§ | |
run: | | |
pytest -v | |
doc: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Set up Python π§ | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies π§ | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .['doc'] | |
- name: Build the Doc π§ | |
run: | | |
cd docs | |
make clean | |
make html | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Black codestyle π§ | |
uses: psf/black@stable |