Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
sphinx-runpython: run python code in sphinx
===========================================

.. image:: https://dev.azure.com/xavierdupre3/sphinx-runpython/_apis/build/status/sdpython.sphinx-runpython
:target: https://dev.azure.com/xavierdupre3/sphinx-runpython/
.. image:: https://github.com/sdpython/sphinx-runpython/actions/workflows/tests.yml/badge.svg
:target: https://github.com/sdpython/sphinx-runpython/actions/workflows/tests.yml

.. image:: https://badge.fury.io/py/sphinx-runpython.svg
:target: http://badge.fury.io/py/sphinx-runpython
Expand Down
2 changes: 2 additions & 0 deletions _doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
graphviz_output_format = "svg"
graphviz_dot_args = ["-Gbgcolor=transparent"]

issues_github_path = "sdpython/sphinx-runpython"

html_theme = "furo"
html_theme_path = ["_static"]
html_theme_options = {}
Expand Down
4 changes: 2 additions & 2 deletions _doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
sphinx-runpython: (Numpy) Array API for ONNX
============================================

.. image:: https://dev.azure.com/xavierdupre3/sphinx-runpython/_apis/build/status/sdpython.sphinx-runpython
:target: https://dev.azure.com/xavierdupre3/sphinx-runpython/
.. image:: https://github.com/sdpython/sphinx-runpython/actions/workflows/tests.yml/badge.svg
:target: https://github.com/sdpython/sphinx-runpython/actions/workflows/tests.yml

.. image:: https://badge.fury.io/py/sphinx-runpython.svg
:target: http://badge.fury.io/py/sphinx-runpython
Expand Down
169 changes: 0 additions & 169 deletions azure-pipelines.yml

This file was deleted.

10 changes: 5 additions & 5 deletions sphinx_runpython/ext_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,25 +121,25 @@ def is_linux() -> bool:


def skipif_ci_windows(msg) -> Callable:
"""Skips a unit test if it runs on :epkg:`azure pipeline` on :epkg:`Windows`."""
"""Skips a unit test if it runs on :epkg:`GitHub Actions` on :epkg:`Windows`."""
if is_windows():
msg = f"Test does not work on azure pipeline (Windows). {msg}"
msg = f"Test does not work on GitHub Actions (Windows). {msg}"
return unittest.skip(msg)
return lambda x: x


def skipif_ci_linux(msg) -> Callable:
"""Skips a unit test if it runs on :epkg:`azure pipeline` on :epkg:`Linux`."""
"""Skips a unit test if it runs on :epkg:`GitHub Actions` on :epkg:`Linux`."""
if is_linux():
msg = f"Takes too long (Linux). {msg}"
return unittest.skip(msg)
return lambda x: x


def skipif_ci_apple(msg) -> Callable:
"""Skips a unit test if it runs on :epkg:`azure pipeline` on :epkg:`Windows`."""
"""Skips a unit test if it runs on :epkg:`GitHub Actions` on :epkg:`macOS`."""
if is_apple():
msg = f"Test does not work on azure pipeline (Apple). {msg}"
msg = f"Test does not work on GitHub Actions (Apple). {msg}"
return unittest.skip(msg)
return lambda x: x

Expand Down
Loading