Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c708c3c
Revamp CI
stoprightthere Nov 2, 2025
16e1376
Fix
stoprightthere Nov 2, 2025
0b36f0a
Fixes
stoprightthere Nov 2, 2025
726c12e
Merge branch 'main' into peter/revamp-ci
stoprightthere Nov 2, 2025
cd1055b
Add clarifying echos in Makefile
stoprightthere Nov 2, 2025
a42af24
Loosen dev versions
stoprightthere Nov 2, 2025
3b8b916
Update `trapz` extra
stoprightthere Nov 2, 2025
d908772
Fix `create_random_state` in tests/helper.py
stoprightthere Nov 2, 2025
4cdd93d
Update README and remove old test-requirents files
stoprightthere Nov 2, 2025
e4b0980
Update the docs
stoprightthere Nov 2, 2025
58be10f
Don't ignore gpjax
stoprightthere Nov 2, 2025
a2f0f8c
Temporarily turn off checks except notebooks
stoprightthere Nov 2, 2025
d6b1616
Loosen tensorflow stack versions and specify gpjax per-python
stoprightthere Nov 2, 2025
3a23fcb
Add explicit tf-keras dev dependency
stoprightthere Nov 2, 2025
ca68ca1
Loosen versions
stoprightthere Nov 7, 2025
e2f709e
Fix gpjax frontend and the example notebook
stoprightthere Nov 7, 2025
9a27807
Run linter
stoprightthere Nov 7, 2025
f0301b4
Turn on main checks
stoprightthere Nov 7, 2025
1ed5569
Use `beartype.typing` rather than `typing`
stoprightthere Nov 7, 2025
7d63f39
Remove the warning about gpjax from the docs
stoprightthere Nov 7, 2025
cda132f
Fix test_log_binomial
stoprightthere Nov 7, 2025
0ec7d73
Add test coverage badge
stoprightthere Nov 7, 2025
26dc003
Fix
stoprightthere Nov 7, 2025
932fc5d
Create badge locally
stoprightthere Nov 7, 2025
9045800
Just run 1 test for speed
stoprightthere Nov 7, 2025
e2c0487
Update link to badge
stoprightthere Nov 7, 2025
39e23d1
Upd
stoprightthere Nov 7, 2025
fda65a5
Run 1 test
stoprightthere Nov 7, 2025
779a336
Fix
stoprightthere Nov 7, 2025
c10a880
Commit as last step
stoprightthere Nov 7, 2025
88e171b
Update coverage badge [skip ci]
github-actions[bot] Nov 7, 2025
302a647
Run the whole test pipeline
stoprightthere Nov 7, 2025
bb8ff4c
Uploade coverage as an artifact and deploy to github pages
stoprightthere Nov 9, 2025
599bebe
Merge branch 'peter/coverage-badge' of github.com:stoprightthere/Geom…
stoprightthere Nov 9, 2025
430f017
Fix
stoprightthere Nov 9, 2025
b02d949
Run the whole test pipeline
stoprightthere Nov 9, 2025
102d36e
Merge branch 'main' into peter/coverage-badge
stoprightthere Nov 9, 2025
9857142
Update
stoprightthere Nov 9, 2025
d61de05
Fix bad merge
stoprightthere Nov 9, 2025
35de73b
Merge branch 'main' into peter/coverage-badge
stoprightthere Nov 9, 2025
6b8ba9f
Merge branch 'main' into peter/coverage-badge
stoprightthere Nov 9, 2025
ba725b5
Export coverage report as html
stoprightthere Nov 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Docs

on:
push:
branches:
- main
workflow_run:
workflows: ["QualityChecks"] # must match the name in ci.yml
types: [completed]
branches: [main]

jobs:
docs:
Expand Down Expand Up @@ -37,10 +38,21 @@ jobs:
mv $TMP_DIR docs
ls -all docs
touch docs/.nojekyll
- name: Download coverage artifact
uses: dawidd6/action-download-artifact@v11
with:
workflow: quality-checks.yaml
workflow_conclusion: success
branch: main
github_token: ${{secrets.GITHUB_TOKEN}}
name: coverage
path: docs
- name: Push to GitHub
run: |
git add .
git add -f docs/autoapi/*
git add -f docs/coverage.xml
git add -f docs/coverage_html/*
git config --global user.email "none"
git config --global user.name "github-actions-bot"
git commit -m "build documentation [ci skip]"
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,17 @@ jobs:
#----------------------------------------------
- name: Run tests
run: UV_PYTHON=python${{ matrix.python-version }} make test
- name: Create badge
run: |
uv pip install genbadge[coverage]
uv run genbadge coverage -i coverage.xml -o coverage.svg
- name: Uploade coverage artifact
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v5
with:
name: coverage
path: |
coverage_html/**
coverage.svg
retention-days: 1
overwrite: true
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lint: sync
@echo -e "$(SUCCESS)Lint done$(RESET)"

test: sync ## Run the tests, start with the failing ones and break on first fail.
@$(UV_RUN) pytest -v -x --ff -rN -Wignore -s --tb=short --durations=0 --cov --cov-report=xml tests
@$(UV_RUN) pytest -v -x --ff -rN -Wignore -s --tb=short --durations=0 --cov --cov-report=xml --cov-report=html:coverage_html tests
@$(UV_RUN) pytest --nbmake --nbmake-kernel=python3 --durations=0 --nbmake-timeout=1000 --ignore=notebooks/frontends/GPJax.ipynb notebooks/
@if [ "$(UV_PYTHON)" = "python3.9" ]; then \
echo "Skipping GPJax notebook on python3.9"; \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# GeometricKernels

[![Quality checks and Tests](https://github.com/geometric-kernels/GeometricKernels/actions/workflows/quality-checks.yaml/badge.svg)](https://github.com/geometric-kernels/GeometricKernels/actions/workflows/quality-checks.yaml)
[![coverage](https://geometric-kernels.github.io/GeometricKernels/coverage.svg?dummy=8484744)](https://geometric-kernels.github.io/GeometricKernels/coverage_html/index.html)
[![Documentation](https://github.com/geometric-kernels/GeometricKernels/actions/workflows/docs.yaml/badge.svg)](https://geometric-kernels.github.io/GeometricKernels/index.html)
[![Landing Page](https://img.shields.io/badge/Landing_Page-informational)](https://geometric-kernels.github.io/)

Expand Down