-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
kedro package
as a CI check (#236)
* Added e2e test for packaging and running astro-airflow-iris Signed-off-by: Elena Khaustova <ymax70rus@gmail.com> * Added the rest e2e project packaging tests Signed-off-by: Elena Khaustova <ymax70rus@gmail.com> * Added github action to run added e2e tests at the CI Signed-off-by: Elena Khaustova <ymax70rus@gmail.com> * Updated github action Signed-off-by: Elena Khaustova <ymax70rus@gmail.com> * Fix typo Co-authored-by: Merel Theisen <49397448+merelcht@users.noreply.github.com> --------- Signed-off-by: Elena Khaustova <ymax70rus@gmail.com> Co-authored-by: Merel Theisen <49397448+merelcht@users.noreply.github.com>
- Loading branch information
1 parent
a64127a
commit 769d685
Showing
3 changed files
with
108 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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Feature: Package and run all starters | ||
|
||
Scenario: Package astro-airflow-iris project and run packaged project | ||
Given I have prepared a config file | ||
And I have run a non-interactive kedro new with the starter astro-airflow-iris | ||
When I execute the kedro command "package" | ||
Then I should get a successful exit code | ||
When I install the project's python package | ||
And I execute the installed project | ||
Then I should get a successful exit code | ||
|
||
Scenario: Package spaceflights-pandas project and run packaged project | ||
Given I have prepared a config file | ||
And I have run a non-interactive kedro new with the starter spaceflights-pandas | ||
When I execute the kedro command "package" | ||
Then I should get a successful exit code | ||
When I install the project's python package | ||
And I execute the installed project | ||
Then I should get a successful exit code | ||
|
||
Scenario: Package spaceflights-pandas-viz project and run packaged project | ||
Given I have prepared a config file | ||
And I have run a non-interactive kedro new with the starter spaceflights-pandas-viz | ||
When I execute the kedro command "package" | ||
Then I should get a successful exit code | ||
When I install the project's python package | ||
And I execute the installed project | ||
Then I should get a successful exit code | ||
|
||
Scenario: Package spaceflights-pyspark project and run packaged project | ||
Given I have prepared a config file | ||
And I have run a non-interactive kedro new with the starter spaceflights-pyspark | ||
When I execute the kedro command "package" | ||
Then I should get a successful exit code | ||
When I install the project's python package | ||
And I execute the installed project | ||
Then I should get a successful exit code | ||
|
||
Scenario: Package spaceflights-pyspark-viz project and run packaged project | ||
Given I have prepared a config file | ||
And I have run a non-interactive kedro new with the starter spaceflights-pyspark-viz | ||
When I execute the kedro command "package" | ||
Then I should get a successful exit code | ||
When I install the project's python package | ||
And I execute the installed project | ||
Then I should get a successful exit code |
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