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

Commit 12e37f5

Browse files
committed
Merge remote-tracking branch 'upstream/master' into merge-nodes
2 parents a56d4b0 + 7f72149 commit 12e37f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+33752
-443
lines changed

.github/workflows/test-pr.yml

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -84,42 +84,29 @@ jobs:
8484
integration-tests:
8585
needs: code-quality-checks
8686
name: 'Integration Tests'
87-
runs-on: [self-hosted, linux, normal]
87+
runs-on: [self-hosted, linux, normal-ephemeral]
8888
strategy:
8989
matrix:
9090
python-version: ['3.10', '3.11']
9191
steps:
9292
- name: 'Check out code'
9393
uses: actions/checkout@v3
94-
- name: 'Build Docker image'
95-
run: |
96-
COMMIT=$(git rev-parse --short=7 HEAD)
97-
K_VERSION=$(cut --delim=v --field=2 deps/k_release)
98-
99-
docker build . \
100-
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \
101-
--build-arg K_VERSION=${K_VERSION} \
102-
--tag runtimeverificationinc/pyk-ci:${COMMIT}
103-
104-
docker run \
105-
--name pyk-ci \
106-
--rm \
107-
--interactive \
108-
--tty \
109-
--detach \
110-
--workdir /home/user \
111-
runtimeverificationinc/pyk-ci:${COMMIT}
112-
113-
docker cp . pyk-ci:/home/user
114-
docker exec pyk-ci chown -R user:user /home/user
115-
- name: 'Set Python version'
116-
run: docker exec --user user pyk-ci poetry env use ${{ matrix.python-version }}
117-
- name: 'Build and run integration tests'
118-
run: docker exec --user user pyk-ci make cov-integration COV_ARGS=-n8
119-
- name: 'Tear down Docker container'
120-
if: always()
94+
- name: 'Install Python'
95+
uses: actions/setup-python@v4
96+
with:
97+
python-version: ${{ matrix.python-version }}
98+
- name: 'Install Poetry'
99+
uses: Gr1N/setup-poetry@v8
100+
- name: 'Install K'
121101
run: |
122-
docker stop --time=0 pyk-ci
102+
K_VERSION=$(cat deps/k_release)
103+
DEB_PACKAGE_NAME=kframework_${K_VERSION}_amd64_ubuntu_jammy.deb
104+
wget https://github.com/runtimeverification/k/releases/download/v${K_VERSION}/${DEB_PACKAGE_NAME}
105+
sudo apt-get update
106+
sudo apt-get -y install graphviz ./${DEB_PACKAGE_NAME}
107+
kompile --version
108+
- name: 'Run integration tests'
109+
run: make cov-integration COV_ARGS='-n8'
123110

124111
build-on-nix:
125112
needs: code-quality-checks

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ FROM runtimeverificationinc/kframework-k:ubuntu-${K_DISTRO}-${K_VERSION}
44

55
ARG PYTHON_VERSION=3.10
66

7-
RUN apt-get -y update \
8-
&& apt-get -y install \
9-
curl \
10-
graphviz \
11-
python$PYTHON_VERSION \
12-
python$PYTHON_VERSION-dev \
7+
RUN apt-get -y update \
8+
&& apt-get -y install \
9+
curl \
10+
graphviz \
11+
python${PYTHON_VERSION} \
12+
python${PYTHON_VERSION}-dev \
1313
&& apt-get -y clean
1414

1515
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr python3 - \

deps/k_release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.24
1+
6.0.33

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.372
1+
0.1.384

pyproject.toml

Lines changed: 1 addition & 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.372"
7+
version = "0.1.384"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

src/pyk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from typing import Final
77

88

9-
K_VERSION: Final = '6.0.24'
9+
K_VERSION: Final = '6.0.33'

0 commit comments

Comments
 (0)