Skip to content

Commit

Permalink
refacotr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rnoxy committed Nov 14, 2023
1 parent d19aa22 commit 43c74a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-kedro-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
kedro new \
--starter ${{ matrix.starter }} \
--directory ${{ matrix.directory }} \
--config tests/${{ matrix.directory }}/config.yml \
--config ${{ matrix.directory }}/tests/config.yml \
--verbose
- name: Run kedro new (remote)
Expand All @@ -52,7 +52,7 @@ jobs:
--starter ${{ matrix.starter }} \
--directory ${{ matrix.directory }} \
--checkout ${{ matrix.branch_name }} \
--config tests/${{ matrix.directory }}/config.yml \
--config ${{ matrix.directory }}/tests/config.yml \
--verbose
- name: Check that the project directory exists
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
pip install kedro==${{ matrix.kedro-init-version }}
- name: Init kedro project
run: kedro new --starter ./${{ matrix.directory }} --config tests/${{ matrix.directory }}/config.yml --verbose
run: kedro new --starter ./${{ matrix.directory }} --config ${{ matrix.directory }}/tests/config.yml --verbose

- name: Install dependencies with poetry
working-directory: test-project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# by specifying the `project_name` parameter.

# During the test we run
# > kedro new --starter mini-poetry --config tests/mini-poetry/config.yml
# > kedro new --starter mini-poetry --config mini-poetry/tests/config.yml
project_name: "test-project"
project_description: "test-project description"
project_author_name: "test-project author"

0 comments on commit 43c74a2

Please sign in to comment.