Skip to content

Commit

Permalink
Updating readme and adding CI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Nov 23, 2024
1 parent 59de808 commit 3d88ed8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
23 changes: 19 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ env:
# quay.io/pypa/manylinux_2_24_x86_64 # Debian (unknown)
# quay.io/pypa/manylinux_2_28_x86_64 # AlmaLinux (use clang)

lint_task:
only_if: changesInclude('.cirrus.yml', '**.{h,cpp,py,toml,build}')
container:
image: quay.io/pypa/manylinux_2_28_x86_64 # AlmaLinux
env:
PATH: /opt/python/cp310-cp310/bin:${PATH}
pip_cache:
folder: ~/.cache/pip
fingerprint_script: echo $PYTHON_VERSION
before_script: |
python -m pip install --upgrade pip ruff
lint_script: |
python -m ruff check src/*
build_and_test_task:
only_if: changesInclude('.cirrus.yml', '**.{h,cpp,py,toml,build}')
container:
Expand Down Expand Up @@ -43,9 +57,7 @@ build_and_test_task:
python -m pip install '.[test]' --verbose
test_script: |
python -m pytest tests/ --cov=primate --benchmark-skip
python -m coverage xml -o coverage.xml
coverage_script: |
pipx run 'coveralls<4' --submit coverage.xml
coverage report -m
uninstall_script: |
python -m pip uninstall primate --yes
wheel_script: |
Expand All @@ -54,7 +66,10 @@ build_and_test_task:
python -m pip install dist/scikit_primate*.whl
test_post_script: |
python -m pytest tests/ --cov=primate --benchmark-skip
coverage report -m
python -m coverage xml -o coverage.xml
coverage_script: |
python -m coveralls --submit coverage.xml
python -m coveralls --finish
# macos_task:
# container:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[![](https://img.shields.io/badge/docs-quarto-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADDklEQVR4nOyZXYhNXRjHf+8bw4TyUYYpxUQm8jG+wo0rX0XiYkoaLpRcUEzNXEiZuZjQhCsKd27UiEa5RCSSbzJGNBMZIo1EYTSGVj1pOufZ+6y1zlpz5mh+dZrp2Xuv9f/vvdfa63nW/xQ5QwYKTdEbGJYZKKuYnW+b5qZMBH4Cn4ASYBzwEejLp+EPnW1Zsf8yA3UtL33argI2AWuBOSK6AWgEFgL3gB/AE+Aa0ArcBn67dNJcPSMrlvUEHCgDtgM1QKXF+SOBJfKrBzqBU8BpeVJe+IyBCcBRoANoshSvUQEcArqAw8AYn0ZcDcwCHgJ7gVE+HSqUyhN5Dix2vdjFwEbgBjDFtRNLyoGrwHqXi2wNbAEuAOP9tFkzGjgPbLC9wMbAGhloA8VwoEX6zUkuA0tlyisNo80aMw2flTGXSpoB8404CYwIq82asfLalqSdlGZgGzA3vC4nZgK7005IMmDu/r44mpypS3sLkgxUA9nf7cJgvvg7kw4mGaiNp8eLPdq6jQQD02S9MpiYCizQDmgGVsbX44WqSzMwP74WL6q0oGZgsAzeTKZrQc3ApPhavFB1aQnN5kBf33fytx1YFKC9Xi2oGXgaoLP+fAPuB27zL5qBXZJ15YvJfa8Dk4EdAdozN6I5M6gZqAn0HWgQA+Xyf750aAa0QfwmQGcxUHVpBtrja/HimRbUDNyJr8WLu1pQM2AS9574epzoA65oBzQDn4Ez8TU5ccllDCCFprzqmIE5mHQgyYCZss7F0+PEZamjqqTlxI3ArzianDiQdjDNgJlOj4fX48QR4FbaCbnqQvVJo38AuCgJfSq5DPRIrfJxOF1WtAFbbfYPbEqL34F1wIMw2nJyE1gBfLE52ba42wUsl/k4Jmbxtwrotr3ApbzeIyX2BtkuCslXYD+wWpbN1rhucPTK9FoZ8Gm0SgmzyWcJ47vN+loGdxVwTPa7XDCv5AlgnjzVV546shOa951OGeUj+dVK8WmZFGTL+6Wm3bKZ9xZ4Ieml11boP0nR79QPGSg0fwIAAP//ppR6oEaYviYAAAAASUVORK5CYII=)](https://peekxc.github.io/primate/)
[![build_macos](https://img.shields.io/github/actions/workflow/status/peekxc/primate/build_macos.yml?logo=apple&logoColor=white)](https://github.com/peekxc/primate/actions/workflows/wheels.yml)
<!-- [![build_macos](https://img.shields.io/github/actions/workflow/status/peekxc/primate/build_macos.yml?logo=apple&logoColor=white)](https://github.com/peekxc/primate/actions/workflows/wheels.yml)
[![build_windows](https://img.shields.io/github/actions/workflow/status/peekxc/primate/build_windows.yml?logo=windows&logoColor=white)](https://github.com/peekxc/primate/actions/workflows/wheels.yml)
[![build_linux](https://img.shields.io/github/actions/workflow/status/peekxc/primate/build_linux.yml?logo=linux&logoColor=white)](https://github.com/peekxc/primate/actions/workflows/wheels.yml)

[![build_linux](https://img.shields.io/github/actions/workflow/status/peekxc/primate/build_linux.yml?logo=linux&logoColor=white)](https://github.com/peekxc/primate/actions/workflows/wheels.yml) -->
[![Tests](https://badgen.net/github/checks/peekxc/primate/pythran_overhaul?label=tests)](https://cirrus-ci.com/github/peekxc/primate/pythran_overhaul)
[![Coverage Status](https://coveralls.io/repos/github/peekxc/primate/badge.svg?branch=pythran_overhaul)](https://coveralls.io/github/peekxc/primate?branch=pythran_overhaul)
[![Python versions](https://badgen.net/badge/python/3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13/blue)](https://github.com/peekxc/primate/actions)
[![PyPI Version](https://badgen.net/pypi/v/scikit-primate)](https://pypi.org/project/scikit-primate/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
Expand Down

0 comments on commit 3d88ed8

Please sign in to comment.