Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding python build, lint and test #37

Merged
merged 8 commits into from
Jun 7, 2021
Merged

Adding python build, lint and test #37

merged 8 commits into from
Jun 7, 2021

Conversation

upkarlidder
Copy link
Member

No description provided.

@upkarlidder upkarlidder self-assigned this Jun 5, 2021
@upkarlidder upkarlidder changed the title WIP - Adding python build, lint and test Adding python build, lint and test Jun 6, 2021
@@ -223,7 +223,7 @@ def __init__(self, list_of_csv_files=None, config_filename=DEFAULT_CONFIG_FILENA
dataframes = []
for csv_file in list_of_csv_files :
df = pd.read_csv(csv_file, engine='python', parse_dates=[TIMESTAMP_COL], index_col = TIMESTAMP_COL)
assert FIREFIGHTER_ID_COL in df.columns, "CSV files is missing key columns %s" % (required_cols)
# assert FIREFIGHTER_ID_COL in df.columns, "CSV files is missing key columns %s" % (required_cols)
Copy link
Member Author

@upkarlidder upkarlidder Jun 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out the code for now. Checking with @JSegrave-IBM. Created #38 for @TaeBlack @Aquijada52

websocket-client==0.57.0
coverage==5.5
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added coverage that shows what code is being tested with the tests.

@upkarlidder upkarlidder requested a review from krook June 6, 2021 02:40
@upkarlidder
Copy link
Member Author

@krook this PR adds

  • python linter
  • pytest and coverage for the tests that @JSegrave-IBM wrote

I have removed the IBM toolchain. I will add GitHub action to build and deploy to our cluster next.

@krook krook merged commit 23cf79c into master Jun 7, 2021
@krook krook deleted the ul-build-lint-test branch June 7, 2021 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants