Skip to content

Commit

Permalink
tweak for reusability
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Sep 6, 2024
1 parent d284e4d commit 3ee1fe6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ runs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ inputs.otdfctl-ref }}
path: otdfctl
# Spin up the platform IFF it's not already running in the current workflow context
- name: Check out platform
if: ${{ inputs.platform-is-running == 'false' }}
Expand Down Expand Up @@ -112,16 +113,20 @@ runs:
- name: Build the CLI
shell: bash
run: go build .
working-directory: otdfctl
- name: Build the CLI in test mode
shell: bash
run: make build-test
working-directory: otdfctl
- name: Set up the CLI config
shell: bash
run: cp otdfctl-example.yaml otdfctl.yaml
working-directory: otdfctl
- name: Setup Bats and bats libs
uses: bats-core/[email protected]
- name: Run Bats tests
shell: bash
working-directory: otdfctl
run: bats e2e
env:
# Define 'bats' install location in ubuntu
Expand Down

0 comments on commit 3ee1fe6

Please sign in to comment.