Skip to content

Commit

Permalink
Run examples on commit
Browse files Browse the repository at this point in the history
  • Loading branch information
billschereriii committed Oct 12, 2023
1 parent 362f576 commit 366a340
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

name: run_post_merge_tests

# This file is for tests that are to be run rarely, once on each merge.
name: run_static_and_examples

on:
push:
branches:
- master
- develop

pull_request:
branches:
- master
- develop
env:
HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker
HOMEBREW_NO_AUTO_UPDATE: "ON"
Expand Down
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ To be released at some future point in time

Description

- Moved testing of examples to on-commit testing in CI/CD pipeline
- Updated RedisAI version used in post-commit check-in testing in Github pipeline
- Allow strings in Python interface for Client.run_script, Client.run_script_multiGPU
- Improved support for model execution batching
Expand All @@ -20,6 +21,7 @@ Description

Detailed Notes

- Moved testing of examples to on-commit testing in CI/CD pipeline (PR411_)
- Updated RedisAI version used in post-commit check-in testing in Github pipeline to a version that supports fetch of model chunking size (PR408_)
- Allow users to pass single keys for the inputs and outputs parameters as a string for Python run_script and run_script_multigpu
- Exposed access to the Redis.AI MINBATCHTIMEOUT parameter, which limits the delay in model execution when trying to accumulate multiple executions in a batch (PR406_)
Expand All @@ -29,6 +31,7 @@ Detailed Notes
- Create CONTRIBUTIONS.md file that points to the contribution guideline for both SmartSim and SmartRedis (PR395_)
- Migrated to ConfigOptions-based Client construction, adding multiple database support (PR353_)

.. _PR411: https://github.com/CrayLabs/SmartRedis/pull/411
.. _PR408: https://github.com/CrayLabs/SmartRedis/pull/408
.. _PR407: https://github.com/CrayLabs/SmartRedis/pull/407
.. _PR406: https://github.com/CrayLabs/SmartRedis/pull/406
Expand Down
1 change: 0 additions & 1 deletion examples/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def test_example(test, build, sr_fortran, link):
cmd = [test]
print(f"Running test: {osp.basename(test)}")
print(f"Test command {' '.join(cmd)}")
print(f"Using cluster: {use_cluster}")
execute_cmd(cmd, test_subdir)
time.sleep(1)
else:
Expand Down

0 comments on commit 366a340

Please sign in to comment.