Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit 3a43525

Browse files
committed
Merge master into branch
2 parents d94404e + d7b05c1 commit 3a43525

File tree

17 files changed

+209
-193
lines changed

17 files changed

+209
-193
lines changed

.github/workflows/test-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
needs: code-quality-checks
6060
name: 'Unit Tests'
6161
runs-on: ubuntu-latest
62+
timeout-minutes: 5
6263
steps:
6364
- name: 'Check out code'
6465
uses: actions/checkout@v3
@@ -71,6 +72,7 @@ jobs:
7172
needs: code-quality-checks
7273
name: 'Profiling'
7374
runs-on: [self-hosted, linux, normal-ephemeral]
75+
timeout-minutes: 10
7476
steps:
7577
- name: 'Check out code'
7678
uses: actions/checkout@v3
@@ -97,6 +99,7 @@ jobs:
9799
needs: code-quality-checks
98100
name: 'Integration Tests'
99101
runs-on: [self-hosted, linux, normal-ephemeral]
102+
timeout-minutes: 30
100103
strategy:
101104
matrix:
102105
python-version: ['3.10', '3.11']
@@ -118,7 +121,7 @@ jobs:
118121
sudo apt-get -y install graphviz ./${DEB_PACKAGE_NAME}
119122
kompile --version
120123
- name: 'Run integration tests'
121-
run: make cov-integration COV_ARGS='-n8'
124+
run: make cov-integration COV_ARGS='-n8 --timeout 300'
122125

123126
build-on-nix:
124127
needs: code-quality-checks

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
project = 'pyk'
1010
author = 'Runtime Verification, Inc'
1111
copyright = '2024, Runtime Verification, Inc'
12-
version = '0.1.624'
13-
release = '0.1.624'
12+
version = '0.1.627'
13+
release = '0.1.627'
1414

1515
# -- General configuration ---------------------------------------------------
1616
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.624
1+
0.1.627

poetry.lock

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pyk"
7-
version = "0.1.624"
7+
version = "0.1.627"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",
@@ -36,6 +36,7 @@ pep8-naming = "*"
3636
pytest = "*"
3737
pytest-cov = "*"
3838
pytest-mock = "*"
39+
pytest-timeout = "*"
3940
pytest-xdist = "*"
4041
pyupgrade = "*"
4142
sphinx = "*"

src/pyk/prelude/ml.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def mlEquals( # noqa: N802
3737
return KLabel('#Equals', arg_sort, sort)(term1, term2)
3838

3939

40-
def mlEqualsTrue(term: KInner) -> KApply: # noqa: N802
41-
return mlEquals(TRUE, term, BOOL)
40+
def mlEqualsTrue(term: KInner, sort: str | KSort = GENERATED_TOP_CELL) -> KApply: # noqa: N802
41+
return mlEquals(TRUE, term, arg_sort=BOOL, sort=sort)
4242

4343

44-
def mlEqualsFalse(term: KInner) -> KApply: # noqa: N802
45-
return mlEquals(FALSE, term, BOOL)
44+
def mlEqualsFalse(term: KInner, sort: str | KSort = GENERATED_TOP_CELL) -> KApply: # noqa: N802
45+
return mlEquals(FALSE, term, arg_sort=BOOL, sort=sort)
4646

4747

4848
def mlTop(sort: str | KSort = GENERATED_TOP_CELL) -> KApply: # noqa: N802

src/pyk/proof/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .equality import EqualityProof, EqualityProver
1+
from .equality import EqualityProof, ImpliesProver, RefutationProof
22
from .proof import ProofStatus
33
from .reachability import APRProof, APRProver

0 commit comments

Comments
 (0)