Skip to content

Fix readthedocs build #99

Fix readthedocs build

Fix readthedocs build #99

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
env:
# Setting RDMAV_FORK_SAFE=1 to avoid libfabric EFA provider issues with
# fork() on Python 3.9 and Ubuntu.
RDMAV_FORK_SAFE: 1
jobs:
test:
name: Python ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ['3.9', '3.12']
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup MPI
uses: mpi4py/setup-mpi@v1
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "0.5.2"
- name: Install the project
run: uv sync --all-extras --dev --python ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest --cov=e3fp --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false