Skip to content
Open
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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,25 @@ jobs:
push: false
archive: false

# ---------------------------------------------------------------------------
# arcup installer: shell lint + unit tests (standalone, no deps)
# ---------------------------------------------------------------------------

arcup:
name: Arcup Installer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends shellcheck

- name: Run shellcheck
run: shellcheck arcup/arcup arcup/install

- name: Run arcup shell tests
run: make test-arcup

# ---------------------------------------------------------------------------
# Solidity Contracts: lint (fast) -> build -> test
# ---------------------------------------------------------------------------
Expand Down
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,17 @@ test-it: up ## Run integration tests
cargo install cargo-nextest --locked
cargo nextest run $(UNIT_TEST_ARGS) --features integration

.PHONY: test-arcup
test-arcup: ## Run arcup installer shell tests
@echo running arcup installer tests...
@for suite in arcup/test_*.sh arcup/*_test.sh; do \
[ -f "$$suite" ] || continue; \
echo "--- $$suite"; \
bash "$$suite" || exit 1; \
done

.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"

Expand Down