Skip to content

Commit

Permalink
single step with if
Browse files Browse the repository at this point in the history
  • Loading branch information
rnoxy committed Nov 14, 2023
1 parent dc9a0f0 commit dd76cb2
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/test-kedro-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,26 @@ jobs:
- name: Show kedro info
run: kedro info

# - name: Run kedro new (local)
# if: matrix.starter == '.'
# run: |
# kedro new
# --starter ${{ matrix.starter }}
# --directory ${{ matrix.directory }}
# --config tests/${{ matrix.directory }}/config.yml
#
# - name: Run kedro new (remote)
# if: matrix.starter != '.'
# run: |
# kedro new
# --starter ${{ matrix.starter }}
# --directory ${{ matrix.directory }}
# --checkout ${{ matrix.branch_name }}
# --config tests/${{ matrix.directory }}/config.yml

- name: Run kedro new
run: |
if [[ "${{ matrix.starter }}" == "." ]]; then
if [ "${{ matrix.starter }}" == "." ]; then
kedro new
--starter ${{ matrix.starter }}
--directory ${{ matrix.directory }}
Expand Down

0 comments on commit dd76cb2

Please sign in to comment.