Skip to content

Commit

Permalink
Merge pull request #1055 from IntersectMBO/mgalazyn/test/fix-data-rac…
Browse files Browse the repository at this point in the history
…e-in-ci-tests

Remove cross reference of files between test suites.
  • Loading branch information
carbolymer authored Feb 5, 2025
2 parents dc09bb9 + 10db465 commit 6f5b300
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ hprop_compatible_conway_transaction_build_one_voter_many_votes = propertyOnce $
, "--fee"
, "178569"
, "--certificate-file"
, "test/cardano-cli-golden/files/golden/shelley/stake-address/reg-certificate-2.json"
, "test/cardano-cli-test/files/input/certificate/stake-address-registration.json"
, "--certificate-script-file"
, "test/cardano-cli-golden/files/input/AlwaysSucceeds.plutus"
, "test/cardano-cli-test/files/input/plutus/v1-always-succeeds.plutus"
, "--certificate-redeemer-value"
, "0"
, "--certificate-execution-units"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "CertificateConway",
"description": "Stake Address Registration Certificate",
"cborHex": "83078200581c81b4245f84593f63c0ff2296930254f77a0690fa9de5f969cac27cb01a001e8480"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "PlutusScriptV1",
"description": "",
"cborHex": "4e4d01000033222220051200120011"
}
5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@
else '''');
packages.cardano-cli.components.tests.cardano-cli-test.preCheck = let
# This define files included in the directory that will be passed to `H.getProjectBase` for this test:
filteredProjectBase = inputs.incl ./. (mainnetConfigFiles ++ [
"cardano-cli/test/cardano-cli-golden/files/golden/shelley/stake-address/reg-certificate-2.json"
"cardano-cli/test/cardano-cli-golden/files/input/AlwaysSucceeds.plutus"
]);
filteredProjectBase = inputs.incl ./. mainnetConfigFiles;
in ''
${exportCliPath}
cp -r ${filteredProjectBase}/* ..
Expand Down

0 comments on commit 6f5b300

Please sign in to comment.