From f4e3a6303f56e0da2c5b07f55a0056cc43be067c Mon Sep 17 00:00:00 2001 From: Giselle van Dongen Date: Tue, 27 Aug 2024 12:50:52 +0200 Subject: [PATCH] Add init file and make github workflow exit on failure --- .tools/run_python_tests.sh | 4 ++-- tutorials/tour-of-restate-python/tour/__init__.py | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 tutorials/tour-of-restate-python/tour/__init__.py diff --git a/.tools/run_python_tests.sh b/.tools/run_python_tests.sh index caca90f0..58318975 100755 --- a/.tools/run_python_tests.sh +++ b/.tools/run_python_tests.sh @@ -14,5 +14,5 @@ function python_mypi_lint() { deactivate } -pushd $PROJECT_ROOT/templates/python && python_mypi_lint && popd || exit -pushd $PROJECT_ROOT/tutorials/tour-of-restate-python && python_mypi_lint && popd || exit \ No newline at end of file +cd $PROJECT_ROOT/templates/python && python_mypi_lint || exit +cd $PROJECT_ROOT/tutorials/tour-of-restate-python && python_mypi_lint || exit \ No newline at end of file diff --git a/tutorials/tour-of-restate-python/tour/__init__.py b/tutorials/tour-of-restate-python/tour/__init__.py new file mode 100644 index 00000000..d961ea7f --- /dev/null +++ b/tutorials/tour-of-restate-python/tour/__init__.py @@ -0,0 +1,8 @@ +# Copyright (c) 2024 - Restate Software, Inc., Restate GmbH +# +# This file is part of the Restate examples, +# which is released under the MIT license. +# +# You can find a copy of the license in the file LICENSE +# in the root directory of this repository or package or at +# https://github.com/restatedev/examples/