-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d284e4d
commit 3ee1fe6
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' }} | ||
|
@@ -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 | ||
|