-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
38 lines (28 loc) · 1.48 KB
/
makefile
File metadata and controls
38 lines (28 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# https://github.com/getmoto/moto/issues/3390
awscli-local-s3-ls:
aws --endpoint-url http://localhost:5000 s3 ls
awscli-local-s3-ls-bucket:
aws --endpoint-url http://localhost:5000 s3 ls s3://pets --recursive
ruff-check:
poetry run ruff check
ruff-check-fix:
poetry run ruff check --fix
ruff-format:
poetry run ruff format
run:
poetry run python run.py
# Execute previously: make start-local-s3-server
run-using-local-s3-server:
export AWS_ENDPOINT=http://localhost:5000 && poetry run python run.py
start-local-s3-server:
poetry run python tests/run_local_s3_server.py
test:
poetry run python -m unittest discover
test-filter:
poetry run python -m unittest discover -p test_aws_s3_diff.py -k TestMainWithLocalS3Server.test_run_all_acounts_generates_expected_results_if_queries_with_results
#poetry run python -m unittest discover -p test_aws_s3_diff.py -k TestMainWithoutLocalS3Server.test_run_manages_aws_client_errors_and_generates_expected_error_messages
#poetry run python -m unittest discover -p test_config_file.py -k TestAnalysisConfigChecker
#poetry run python -m unittest discover -p test_s3_client.py
#poetry run python -m unittest discover -p test_s3_data.py -k TestS3UriDfModifier
#poetry run python -m unittest discover -p test_s3_data_analysis.py -k TestAnalysisDataGenerator.test_get_df_returns_expected_result
#poetry run python -m unittest discover -p test_s3_data_one_account.py -k TestAccountDataGenerator.test_get_df_returns_expected_result_if_query_without_results