Skip to content

Commit

Permalink
imp: refactored the justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Dec 13, 2024
1 parent 542f77e commit fb23893
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,25 +80,35 @@ generate-abi: build-contracts
abigen --abi abi/IBCERC20.json --pkg ibcerc20 --type Contract --out abigen/ibcerc20/contract.go
abigen --abi abi/ICS20Lib.json --pkg ics20lib --type Lib --out abigen/ics20lib/lib.go

# Run the e2e tests
# Run any e2e test in the interchaintestv8 test suite using the test's full name
# For example, `just test-e2e TestWithIbcEurekaTestSuite/TestDeploy_Groth16`
test-e2e testname: clean
@echo "Running {{testname}} test..."
cd e2e/interchaintestv8 && go test -v -run '^TestWithIbcEurekaTestSuite/{{testname}}$' -timeout 40m
cd e2e/interchaintestv8 && go test -v -run '^{{testname}}$' -timeout 40m

# Run the e2e tests in the relayer test suite
# Run any e2e test in the IbcEurekaTestSuite using the test's name
# For example, `just test-e2e-eureka TestDeploy_Groth16`
test-e2e-eureka testname: clean
@echo "Running {{testname}} test..."
just test-e2e TestWithIbcEurekaTestSuite/{{testname}}

# Run any e2e test in the RelayerTestSuite using the test's name
# For example, `just test-e2e-relayer TestRelayerInfo`
test-e2e-relayer testname: clean
@echo "Running {{testname}} test..."
cd e2e/interchaintestv8 && go test -v -run '^TestWithRelayerTestSuite/{{testname}}$' -timeout 40m
just test-e2e TestWithRelayerTestSuite/{{testname}}

# Run the e2e tests in the relayer test suite
# Run any e2e test in the CosmosRelayerTestSuite using the test's name
# For example, `just test-e2e-cosmos-relayer TestRelayerInfo`
test-e2e-cosmos-relayer testname: clean
@echo "Running {{testname}} test..."
cd e2e/interchaintestv8 && go test -v -run '^TestWithCosmosRelayerTestSuite/{{testname}}$' -timeout 40m
just test-e2e TestWithCosmosRelayerTestSuite/{{testname}}

# Run the e2e tests in the relayer test suite
# Run anu e2e test in the SP1ICS07TendermintTestSuite using the test's name
# For example, `just test-e2e-sp1-ics07 TestDeploy_Groth16`
test-e2e-sp1-ics07 testname: clean
@echo "Running {{testname}} test..."
cd e2e/interchaintestv8 && go test -v -run '^TestWithSP1ICS07TendermintTestSuite/{{testname}}$' -timeout 40m
just test-e2e TestWithSP1ICS07TendermintTestSuite/{{testname}}

# Install the sp1-ics07-tendermint operator for use in the e2e tests
install-operator:
Expand Down

0 comments on commit fb23893

Please sign in to comment.