From fcaccaddfad8e71c38c1a6c68ae90b5d85c232e2 Mon Sep 17 00:00:00 2001 From: ix5 Date: Fri, 27 May 2022 04:20:46 +0200 Subject: [PATCH] .github, docs: Note keeping docker cmds in sync --- .github/workflows/e2e-tests.yml | 2 ++ docs/docs/technical-docs/testing.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e3e0802a9..c73a04afe 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -41,6 +41,7 @@ jobs: - name: Bring up containers run: docker compose up -d + # Keep this line in sync with docs/docs/technical-docs/testing.rst - name: Client unit tests run: | docker run \ @@ -48,6 +49,7 @@ jobs: --mount type=bind,source=${{ github.workspace }}/isso/js/,target=/src/isso/js/,readonly \ ${{ env.TESTBED_IMAGE }} npm run test-unit + # Keep this line in sync with docs/docs/technical-docs/testing.rst - name: Client integration tests run: | docker run \ diff --git a/docs/docs/technical-docs/testing.rst b/docs/docs/technical-docs/testing.rst index 84cda9307..1b2dbe6b2 100644 --- a/docs/docs/technical-docs/testing.rst +++ b/docs/docs/technical-docs/testing.rst @@ -96,6 +96,7 @@ Running tests Run **unit tests:** +.. keep this line in sync with .github/workflows/e2e-tests.yml .. code-block:: bash :emphasize-lines: 4 @@ -106,6 +107,7 @@ Run **unit tests:** Run **integration tests:** +.. keep this line in sync with .github/workflows/e2e-tests.yml .. code-block:: bash :emphasize-lines: 4-6