Skip to content

Commit

Permalink
two steps (optional)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnoxy committed Nov 14, 2023
1 parent fce59ac commit a763e3d
Showing 1 changed file with 14 additions and 28 deletions.
42 changes: 14 additions & 28 deletions .github/workflows/test-kedro-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,22 @@ 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 (local)
if: matrix.starter == '.'
run: |
kedro new
--starter ${{ matrix.starter }}
--directory ${{ matrix.directory }}
--config tests/${{ matrix.directory }}/config.yml
- name: Run kedro new
- name: Run kedro new (remote)
if: matrix.starter != '.'
run: |
if [ "${{ matrix.starter }}" == "." ]; then
kedro new
--starter ${{ matrix.directory }}
--config tests/${{ matrix.directory }}/config.yml
else
kedro new
--starter ${{ matrix.starter }}
--directory ${{ matrix.directory }}
--checkout ${{ matrix.branch_name }}
--config tests/${{ matrix.directory }}/config.yml
fi
kedro new
--starter ${{ matrix.starter }}
--directory ${{ matrix.directory }}
--checkout ${{ matrix.branch_name }}
--config tests/${{ matrix.directory }}/config.yml
- name: Check that the project directory exists
run: |
Expand Down

0 comments on commit a763e3d

Please sign in to comment.