From 0593d0280d519919fcc7257f4ac277886ec65699 Mon Sep 17 00:00:00 2001 From: phil-bell Date: Wed, 2 Mar 2022 13:15:19 +0000 Subject: [PATCH 1/2] adding start of path to pytest command plus running cypress and karma outside the container --- legl_dev/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legl_dev/main.py b/legl_dev/main.py index ffaf444..87c067e 100755 --- a/legl_dev/main.py +++ b/legl_dev/main.py @@ -114,7 +114,7 @@ def pytest( f"docker compose " "exec backend pytest " "--html=unit_test_results.html " - f"{extra_args} {path}" + f"{extra_args} /code/{path}" ) ), ] @@ -154,7 +154,7 @@ def cypress(): steps = Steps( steps=[ Command( - command=f"docker compose exec frontend yarn run cypress open", + command=f"yarn run cypress open", ) ] ) @@ -246,7 +246,7 @@ def jstest(): steps = Steps( steps=[ - Command(command=(f"docker compose exec frontend yarn run test")), + Command(command=(f"yarn run test")), Command( command="open js-test-results/index.html", ), From f0af52a2a12de79e19391be15eec977721186a02 Mon Sep 17 00:00:00 2001 From: phil-bell Date: Wed, 2 Mar 2022 13:35:23 +0000 Subject: [PATCH 2/2] adding pull request tempalte --- .github/pull_request_template.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..3b3ebe5 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,19 @@ +### What does this PR do? + +### How do you test it? + +### What should the release note say? + + + + + +