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

Add command line arguments for testing queries #1161

Merged
merged 4 commits into from
Jun 20, 2023

Conversation

sarahyurick
Copy link
Collaborator

@sarahyurick sarahyurick commented May 26, 2023

[UPDATED]
For local testing purposes, this allows the user to do something like:

pytest tests/unit/test_queries.py::test_gpu_query['q1.sql'] --runqueries --rungpu --data_dir "/home/nfs/syurick/dask-sql/tests/unit/data/sf1/parquet_2gb_sorted/" --queries_dir "/home/nfs/syurick/dask-sql/tests/unit/queries/"

cc @randerzander

@codecov-commenter
Copy link

codecov-commenter commented May 26, 2023

Codecov Report

Merging #1161 (dfc8f4d) into main (4212a26) will increase coverage by 0.11%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #1161      +/-   ##
==========================================
+ Coverage   81.42%   81.53%   +0.11%     
==========================================
  Files          78       78              
  Lines        4474     4474              
  Branches      817      817              
==========================================
+ Hits         3643     3648       +5     
+ Misses        650      641       -9     
- Partials      181      185       +4     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sarahyurick sarahyurick changed the title Add filepath command line argument for testing queries Add command line arguments for testing queries May 30, 2023
@ayushdg ayushdg merged commit 8991706 into dask-contrib:main Jun 20, 2023
19 checks passed
@sarahyurick sarahyurick deleted the test_queries_filepath_arg branch June 21, 2023 16:23
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.

None yet

4 participants