fix(cross): compute total squared covariance in PC space #221
Workflow file for this run
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
# Basic workflow for building and testing the pip installation | |
name: Continuous Integration | |
on: | |
pull_request: | |
branches: [ main, develop ] | |
types: [opened, synchronize, reopened, edited] | |
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab | |
jobs: | |
test: | |
name: py${{ matrix.versions.python-version }} ${{ matrix.versions.resolution }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
versions: | |
- python-version: '3.10' | |
resolution: lowest-direct | |
- python-version: '3.11' | |
resolution: highest | |
- python-version: '3.12' | |
resolution: highest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python ${{ matrix.versions.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.versions.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install uv | |
uv pip install . -r pyproject.toml --system --extra dev --resolution ${{ matrix.versions.resolution }} | |
- name: Execute Tests | |
run: | | |
coverage run -m pytest -n auto --doctest-glob="README.md" | |
coverage report -m | |
coverage xml | |
- name: Upload Coverage Report to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.xml |