Skip to content

Commit

Permalink
#333: Added project short tag in notebook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 7, 2024
1 parent df5936d commit 71c88f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/notebook_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ jobs:
NBTEST_AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
NBTEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }}
NBTEST_AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
PROJECT_SHORT_TAG: XAIL-NB
4 changes: 4 additions & 0 deletions doc/changes/changes_3.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
Code name:

## Summary

## Refactorings

* #333: Added project short tag in notebook tests
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ def test_notebook(notebook_test_container_with_log, notebook_test_file, notebook
environ = os.environ.copy()
environ["NBTEST_ACTIVE"] = "TRUE"
nbtest_environ = {key: value for key, value in environ.items() if (
key.startswith("NBTEST_") or key.startswith("SAAS_"))}
key.startswith("NBTEST_")
or key.startswith("SAAS_")
or key == "PROJECT_SHORT_TAG")}
exec_command(
command_run_test,
container,
Expand Down

0 comments on commit 71c88f8

Please sign in to comment.