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

Fix build and tests #98

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Fix build and tests #98

merged 2 commits into from
Mar 13, 2024

Conversation

MrCreosote
Copy link
Member

Google downloads seem to work now anyway, given up to date urls retrieved from google drive. The lesson to be learned here is use libraries rather than fragile string parsing. To that end, we should probably use an actual Google drive client rather than the hack I've got working for now

Also stop running tests twice, which has been happening for 4 years apparently

Google downloads seem to work now anyway, given up to date urls
retrieved from google drive. The lesson to be learned here is use
libraries rather than fragile string parsing. To that end, we should
probably use an actual Google drive client rather than the hack I've got
working for now

Also stop running tests twice, which has been happening for 4 years
apparently
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.53%. Comparing base (b640d1c) to head (3886f57).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   70.89%   71.53%   +0.63%     
==========================================
  Files           5        5              
  Lines        1182     1212      +30     
==========================================
+ Hits          838      867      +29     
- Misses        344      345       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MrCreosote
Copy link
Member Author

MrCreosote commented Mar 13, 2024

The coverage report seems to have multiple prior PRs included, as there are changes not included in this PR. For some reason this repo was deactivated in codecov

@MrCreosote MrCreosote mentioned this pull request Mar 13, 2024
Copy link
Contributor

@Tianhao-Gu Tianhao-Gu left a comment

Choose a reason for hiding this comment

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

LGTM. Just need to bump version and add release note.

@@ -11,6 +11,7 @@
import subprocess
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to bump version as current release version is also 0.2.0

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, coming up next

parsedurl = urlparse.urlparse(file_url)
query = {}
if parsedurl.query:
# should we catch an error here?
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't have a strong option. Probably fine as is.

@MrCreosote MrCreosote merged commit 2fce573 into master Mar 13, 2024
3 checks passed
@MrCreosote MrCreosote deleted the dev-build_test_fix branch March 13, 2024 02:24
@MrCreosote MrCreosote restored the dev-build_test_fix branch March 13, 2024 04:29
@MrCreosote MrCreosote deleted the dev-build_test_fix branch March 13, 2024 04:29
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