Skip to content

Commit 9d3c329

Browse files
ehildenbrv-auditor
andauthored
Rename test-stages, improve parallel parameterization (#2507)
* .github/test-pr: increase test parallelism * .github/test-pr: parameterize tests by parallel amount * .github/test-pr: specify job name to avoid renaming on parameter changes * .github/test-pr: update conformance tests name too * Set Version: 1.0.623 --------- Co-authored-by: devops <[email protected]>
1 parent e4d4650 commit 9d3c329

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

.github/workflows/test-pr.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
make -C kevm-pyk profile
7575
7676
test-concrete-execution:
77-
name: 'Build and Test KEVM concrete execution'
77+
name: 'Conformance Tests'
7878
needs: kevm-pyk-code-quality-checks
7979
runs-on: [self-hosted, linux, normal]
8080
timeout-minutes: 45
@@ -103,25 +103,33 @@ jobs:
103103
docker stop --time=0 kevm-ci-concrete-${{ github.sha }}
104104
105105
test-prove:
106-
name: 'Build and Test KEVM proofs'
106+
name: 'Proofs: ${{ matrix.name }}'
107107
needs: kevm-pyk-code-quality-checks
108108
runs-on: [self-hosted, linux, fast]
109109
strategy:
110110
fail-fast: false
111111
matrix:
112112
include:
113-
- test-suite: 'test-prove-pyk'
113+
- name: 'Rules (booster)'
114+
test-suite: 'test-prove-pyk'
114115
test-args:
115116
timeout: 150
116-
- test-suite: 'test-prove-pyk'
117+
parallel: 6
118+
- name: 'Rules (booster-dev)'
119+
test-suite: 'test-prove-pyk'
117120
test-args: '--use-booster-dev'
118121
timeout: 45
119-
- test-suite: 'test-prove-optimizations'
122+
parallel: 8
123+
- name: 'Optimizations'
124+
test-suite: 'test-prove-optimizations'
120125
test-args:
121126
timeout: 45
122-
- test-suite: 'test-prove-dss'
127+
parallel: 1
128+
- name: 'DSS'
129+
test-suite: 'test-prove-dss'
123130
test-args:
124131
timeout: 45
132+
parallel: 1
125133
timeout-minutes: ${{ matrix.timeout }}
126134
steps:
127135
- name: 'Check out code'
@@ -139,7 +147,7 @@ jobs:
139147
- name: 'Build distribution'
140148
run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics.plugin evm-semantics.haskell'
141149
- name: 'Prove Haskell'
142-
run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=4"
150+
run: docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=${{ matrix.parallel }}"
143151
- name: 'Tear down Docker'
144152
if: always()
145153
run: |

kevm-pyk/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 = "kevm-pyk"
7-
version = "1.0.622"
7+
version = "1.0.623"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

kevm-pyk/src/kevm_pyk/__init__.py

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

8-
VERSION: Final = '1.0.622'
8+
VERSION: Final = '1.0.623'

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.622
1+
1.0.623

0 commit comments

Comments
 (0)