Skip to content

Commit

Permalink
Upload benchmark information to S3 after integration test runs (#1878)
Browse files Browse the repository at this point in the history
* Upload benchmark information to S3 after integration test runs

Signed-off-by: Achal Shah <[email protected]>

* Fix action

Signed-off-by: Achal Shah <[email protected]>

* newline

Signed-off-by: Achal Shah <[email protected]>
  • Loading branch information
achals authored Sep 17, 2021
1 parent ecd4a66 commit 463b88f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jobs:
fail_ci_if_error: true
verbose: true
- name: Benchmark python
run: FEAST_USAGE=False IS_TEST=True pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-json=./benchmarks.json
- name: Upload Benchmark Artifact
uses: actions/upload-artifact@v2
with:
name: benchmarks.json
path: benchmarks.json
run: FEAST_USAGE=False IS_TEST=True pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data
- name: Upload Benchmark Artifact to S3
run: aws s3 cp --recursive .benchmarks s3://feast-ci-pytest-benchmarks
9 changes: 3 additions & 6 deletions .github/workflows/pr_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ jobs:
fail_ci_if_error: true
verbose: true
- name: Benchmark python
run: FEAST_USAGE=False IS_TEST=True pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-json=./benchmarks.json
- name: Upload Benchmark Artifact
uses: actions/upload-artifact@v2
with:
name: benchmarks.json
path: benchmarks.json
run: FEAST_USAGE=False IS_TEST=True pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data
- name: Upload Benchmark Artifact to S3
run: aws s3 cp --recursive .benchmarks s3://feast-ci-pytest-benchmarks
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,7 @@ dmypy.json
# Protos
sdk/python/docs/html
sdk/python/feast/protos/
sdk/go/protos/
sdk/go/protos/

#benchmarks
.benchmarks
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ install-python:
python -m pip install -e sdk/python -U --use-deprecated=legacy-resolver

benchmark-python:
FEAST_USAGE=False IS_TEST=True pytest --integration --benchmark sdk/python/tests
FEAST_USAGE=False IS_TEST=True pytest --integration --benchmark --benchmark-autosave --benchmark-save-data sdk/python/tests

test-python:
FEAST_USAGE=False IS_TEST=True pytest -n 8 sdk/python/tests
Expand Down

0 comments on commit 463b88f

Please sign in to comment.