From fb8c0d332a0b1d996132d4403930b28db877b4a5 Mon Sep 17 00:00:00 2001 From: jrhizor Date: Thu, 15 Dec 2022 15:16:58 -0800 Subject: [PATCH 1/6] add stoat --- .github/workflows/build.yml | 5 +++++ .stoat/config.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .stoat/config.yaml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e007a23..d91ce94 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,3 +47,8 @@ jobs: run: | pip install pdoc3 pdoc --html openapi_server --output-dir pdoc + + - name: Run Stoat Action + uses: stoat-dev/stoat-action@v0 + if: always() + diff --git a/.stoat/config.yaml b/.stoat/config.yaml new file mode 100644 index 0000000..2622fb1 --- /dev/null +++ b/.stoat/config.yaml @@ -0,0 +1,25 @@ +--- +version: 1 +enabled: true +tasks: + tests: + metadata: + name: "Test Results" + static_hosting: + path: testreport + test-coverage: + metadata: + name: "Test Coverage" + static_hosting: + path: htmlcov + pdoc: + metadata: + name: "Python Docs" + static_hosting: + path: pdoc/openapi_server + redoc: + metadata: + name: "API Docs" + static_hosting: + path: redoc.html + From d3ae1763e7bee51c69dd8164803221bc02b33967 Mon Sep 17 00:00:00 2001 From: jrhizor Date: Thu, 15 Dec 2022 15:20:00 -0800 Subject: [PATCH 2/6] remove extra newlines at ends of files --- .github/workflows/build.yml | 1 - .stoat/config.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d91ce94..e2cc88d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,4 +51,3 @@ jobs: - name: Run Stoat Action uses: stoat-dev/stoat-action@v0 if: always() - diff --git a/.stoat/config.yaml b/.stoat/config.yaml index 2622fb1..0e9efe1 100644 --- a/.stoat/config.yaml +++ b/.stoat/config.yaml @@ -22,4 +22,3 @@ tasks: name: "API Docs" static_hosting: path: redoc.html - From 78e88ee22685f95f295ba45a030e35a41047303d Mon Sep 17 00:00:00 2001 From: jrhizor Date: Tue, 20 Dec 2022 20:30:45 -0800 Subject: [PATCH 3/6] upgrade to new config file version --- .stoat/config.yaml | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/.stoat/config.yaml b/.stoat/config.yaml index 0e9efe1..f3299ab 100644 --- a/.stoat/config.yaml +++ b/.stoat/config.yaml @@ -2,23 +2,22 @@ version: 1 enabled: true tasks: - tests: - metadata: - name: "Test Results" - static_hosting: - path: testreport - test-coverage: - metadata: - name: "Test Coverage" - static_hosting: - path: htmlcov - pdoc: - metadata: - name: "Python Docs" - static_hosting: - path: pdoc/openapi_server - redoc: - metadata: - name: "API Docs" - static_hosting: - path: redoc.html + job_runtime: + enabled: true + static_hosting: + tests: + metadata: + name: "Test Results" + path: testreport + test-coverage: + metadata: + name: "Test Coverage" + path: htmlcov + pdoc: + metadata: + name: "Python Docs" + path: pdoc/openapi_server + redoc: + metadata: + name: "API Docs" + path: redoc.html From f831f3a262782811509d7d2d2bf3360c49f05924 Mon Sep 17 00:00:00 2001 From: jrhizor Date: Tue, 20 Dec 2022 20:35:31 -0800 Subject: [PATCH 4/6] fix config key name --- .stoat/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stoat/config.yaml b/.stoat/config.yaml index f3299ab..5ae5263 100644 --- a/.stoat/config.yaml +++ b/.stoat/config.yaml @@ -1,7 +1,7 @@ --- version: 1 enabled: true -tasks: +plugins: job_runtime: enabled: true static_hosting: From fd8694e84a77e5d5d9a28a5fcb9bf5ef057de1eb Mon Sep 17 00:00:00 2001 From: jrhizor Date: Tue, 20 Dec 2022 20:38:43 -0800 Subject: [PATCH 5/6] re-run From 2f8e9b92a2087dac5c3f38e94563e929272810e2 Mon Sep 17 00:00:00 2001 From: jrhizor Date: Thu, 22 Dec 2022 20:18:21 -0800 Subject: [PATCH 6/6] re-run