diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b655f8f..c70fbbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,6 +158,19 @@ jobs: push: false archive: false + # --------------------------------------------------------------------------- + # arcup: shell test suite for the installer (no network, no toolchain, seconds to run) + # --------------------------------------------------------------------------- + + arcup-test: + name: arcup Shell Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + + - name: Run arcup test suite + run: bash arcup/test_arcup.sh + # --------------------------------------------------------------------------- # Solidity Contracts: lint (fast) -> build -> test # --------------------------------------------------------------------------- diff --git a/Makefile b/Makefile index f7c4892..d391b0f 100644 --- a/Makefile +++ b/Makefile @@ -137,7 +137,7 @@ test-it: up ## Run integration tests cargo nextest run $(UNIT_TEST_ARGS) --features integration .PHONY: test-all -test-all: test-it test-unit-contract ## Run all tests +test-all: test-it test-unit-contract test-arcup ## Run all tests @echo running all tests... make smoke LAUNCH_ARGS="--frozen --healthy-retry=130" @@ -159,6 +159,11 @@ cov-report: cov-unit ## Generate the coverage report cov-show: cov-report ## Generate coverage report and open in browser open target/llvm-cov/html/index.html +.PHONY: test-arcup +test-arcup: ## Run the arcup installer shell test suite + @echo running arcup shell tests... + bash arcup/test_arcup.sh + .PHONY: test-unit-contract test-unit-contract: check-foundry ## Run contract unit tests with coverage @echo "Running contract tests..."