Skip to content

Fix install from pipy in docs #24

Fix install from pipy in docs

Fix install from pipy in docs #24

Workflow file for this run

name: Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]
- name: Run tests
run: pytest --cov=xarray_histogram --cov=tests --cov-branch --cov-report=xml -v tests
- name: Upload coverage on Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}