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
8 changes: 8 additions & 0 deletions .github/workflows/regression-dbsync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ on:
- disk
- disklmdb
default: ""
consensus_mode:
type: choice
description: "Consensus mode"
options:
- Praos
- Genesis
default: "Praos"
allow_unstable_error_msgs:
type: boolean
default: false
Expand Down Expand Up @@ -74,6 +81,7 @@ jobs:
cluster_era: ${{ inputs.cluster_era }}
markexpr: ${{ inputs.markexpr }}
utxo_backend: ${{ inputs.utxo_backend }}
consensus_mode: ${{ inputs.consensus_mode }}
allow_unstable_error_msgs: ${{ inputs.allow_unstable_error_msgs }}
byron_cluster: ${{ inputs.byron_cluster }}
testrun_name: ${{ inputs.testrun_name }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ on:
- disk
- disklmdb
default: ""
consensus_mode:
type: choice
description: "Consensus mode"
options:
- Praos
- Genesis
default: "Praos"
allow_unstable_error_msgs:
type: boolean
default: false
Expand Down Expand Up @@ -65,6 +72,7 @@ jobs:
cluster_era: ${{ inputs.cluster_era }}
markexpr: ${{ inputs.markexpr }}
utxo_backend: ${{ inputs.utxo_backend }}
consensus_mode: ${{ inputs.consensus_mode }}
allow_unstable_error_msgs: ${{ inputs.allow_unstable_error_msgs }}
byron_cluster: ${{ inputs.byron_cluster }}
testrun_name: ${{ inputs.testrun_name }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/regression_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ on:
required: false
type: string
default: ""
consensus_mode:
required: false
type: string
default: ""
allow_unstable_error_msgs:
required: false
type: boolean
Expand Down Expand Up @@ -91,6 +95,7 @@ jobs:
echo "MARKEXPR=${{ inputs.markexpr }}" >> .github_ci_env
echo "UTXO_BACKEND=${{ inputs.utxo_backend }}" >> .github_ci_env
echo "ALLOW_UNSTABLE_ERROR_MESSAGES=${{ inputs.allow_unstable_error_msgs }}" >> .github_ci_env
echo "CI_CONSENSUS_MODE=${{ inputs.consensus_mode }}" >> .github_ci_env
echo "CI_BYRON_CLUSTER=${{ inputs.byron_cluster }}" >> .github_ci_env
echo "CI_TESTRUN_NAME=${{ inputs.testrun_name }}" >> .github_ci_env
echo "CI_SKIP_PASSED=${{ inputs.skip_passed }}" >> .github_ci_env
Expand Down
4 changes: 4 additions & 0 deletions runner/regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ elif is_truthy "${CI_BYRON_CLUSTER:-}"; then
export TESTNET_VARIANT="${CLUSTER_ERA:-conway}_slow"
fi

if [ "${CI_CONSENSUS_MODE:-}" = "Genesis" ]; then
export USE_GENESIS_MODE=true
fi

export CARDANO_NODE_SOCKET_PATH_CI="$WORKDIR/state-cluster0/bft1.socket"

# assume we run tests on testnet when `BOOTSTRAP_DIR` is set
Expand Down
Loading