diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 95f774d..3d8fd80 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/README.md b/README.md index 885888e..c41029a 100644 --- a/README.md +++ b/README.md @@ -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,