Skip to content
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
16 changes: 14 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,22 @@ jobs:
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl doctor base-demo

- name: Check repository baseline through Base
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl repo check .

- name: List base-demo commands
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl run base-demo --workspace .. --list

- name: Run base-demo hello command
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl run base-demo --workspace .. hello

- name: Test base-demo
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl test base-demo
run: ../base/bin/basectl test base-demo --workspace ..

- name: Run base-demo non-interactively
if: steps.base_demo.outputs.supported == 'true'
run: ../base/bin/basectl demo base-demo -- --non-interactive
run: ../base/bin/basectl demo base-demo --workspace .. -- --non-interactive
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,15 @@ hello
$ basectl run base-demo hello
hello from base-demo
BASE_PROJECT=base-demo
BASE_DEMO_ENV=baseline
BASE_DEMO_ENV=unset

$ basectl test base-demo
Repository baseline is present.
```

`BASE_DEMO_ENV` becomes `baseline` inside `basectl activate base-demo`,
because activation sources `.base/activate.sh` into the project shell.

## Repository Shape

- `base_manifest.yaml` declares the project name, activation source, command,
Expand Down
Loading