Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split CLI tests by edition #17

Merged
merged 1 commit into from
Nov 13, 2024
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
2 changes: 1 addition & 1 deletion Dockerfile.ce
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN cmake --build /build --config Release --parallel 2
RUN cmake --install ./build --prefix /usr --verbose \
--config Release --component sourcemeta_registry

RUN make -C /source test PREFIX=/usr
RUN make -C /source test PREFIX=/usr ENTERPRISE=OFF

FROM debian:bookworm-slim
RUN apt-get --yes update && apt-get install --yes --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN cmake --build /build --config Release --parallel 2
RUN cmake --install ./build --prefix /usr --verbose \
--config Release --component sourcemeta_registry

RUN make -C /source test PREFIX=/usr
RUN make -C /source test PREFIX=/usr ENTERPRISE=ON

FROM debian:bookworm-slim
RUN apt-get --yes update && apt-get install --yes --no-install-recommends \
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ lint:

.PHONY: test
test:
./test/cli/index/no-options.sh $(PREFIX)/bin/sourcemeta-registry-index
./test/cli/index/no-output.sh $(PREFIX)/bin/sourcemeta-registry-index
./test/cli/index/invalid-configuration.sh $(PREFIX)/bin/sourcemeta-registry-index
./test/cli/common/index/invalid-configuration.sh $(PREFIX)/bin/sourcemeta-registry-index
ifeq ($(ENTERPRISE), ON)
else
./test/cli/ce/index/no-options.sh $(PREFIX)/bin/sourcemeta-registry-index
./test/cli/ce/index/no-output.sh $(PREFIX)/bin/sourcemeta-registry-index
endif

.PHONY: test-schemas
test-schemas:
Expand Down
File renamed without changes.
File renamed without changes.