Skip to content

Commit

Permalink
fixed badge... hopefully! (#40)
Browse files Browse the repository at this point in the history
* fixed badge... hopefully!

* now using wf name
  • Loading branch information
gecBurton authored Nov 11, 2020
1 parent f1a8f70 commit d1677c1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package
name: PythonPackage

on:
push:
Expand Down
10 changes: 4 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ Inference Logic
.. image:: https://img.shields.io/pypi/v/inference_logic.svg
:target: https://pypi.python.org/pypi/inference_logic

.. image:: https://img.shields.io/travis/gecBurton/inference_logic.svg
:target: https://travis-ci.com/gecBurton/inference_logic

.. image:: https://github.com/gecBurton/inference_logic/workflows/PythonPackage/badge.svg
:target: https://github.com/gecBurton/inference_logic/workflows/PythonPackage/badge.svg


.. image:: https://readthedocs.org/projects/json-inference-logic/badge/?version=latest
:target: https://inference-logic.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


.. image:: https://pyup.io/repos/github/gecBurton/inference_logic/shield.svg
:target: https://pyup.io/repos/github/gecBurton/inference_logic/
:alt: Updates



The goal of this project is to explore how to write a minimal set of features to allow declarative programming in Python.
Expand Down
42 changes: 42 additions & 0 deletions tests/ninety_nine_problems/test_arithmetic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pytest

from inference_logic.algorithms import search
from inference_logic.data_structures import Assert, Assign, Rule, Variable

Expand Down Expand Up @@ -104,3 +106,43 @@ def test_33():
]
query = dict(a=15, b=4, coprime=Q)
assert list(search(db, query)) == [{Q: True}]


@pytest.mark.xfail
def test_34():
assert False


@pytest.mark.xfail
def test_35():
assert False


@pytest.mark.xfail
def test_36():
assert False


@pytest.mark.xfail
def test_37():
assert False


@pytest.mark.xfail
def test_38():
assert False


@pytest.mark.xfail
def test_39():
assert False


@pytest.mark.xfail
def test_40():
assert False


@pytest.mark.xfail
def test_41():
assert False

0 comments on commit d1677c1

Please sign in to comment.