From 81d3cf0d13488fe62c2e845b0b0a40619a90826d Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Fri, 28 Jun 2024 13:26:11 -0400 Subject: [PATCH 1/4] issue #99: code coverage --- .github/workflows/workflows.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index 03442dbc..f274784a 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -12,6 +12,7 @@ jobs: uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main secrets: inherit + deploy: uses: From 523d165365ae940d128c2520cbfe265f3c7fd6e9 Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Fri, 28 Jun 2024 13:29:21 -0400 Subject: [PATCH 2/4] issue #99: code coverage --- .github/workflows/workflows.yml | 1 - Dockerfile | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index f274784a..03442dbc 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -12,7 +12,6 @@ jobs: uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main secrets: inherit - deploy: uses: diff --git a/Dockerfile b/Dockerfile index 6c8b0185..65dad7e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,6 @@ RUN pip3 install --no-cache-dir -r requirements.txt COPY . ./ +COPY . . + CMD hypercorn -b :$PORT app:app From 2724deb4f71cbeb1b5c4e0cb6009646527a869c5 Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Fri, 28 Jun 2024 13:48:06 -0400 Subject: [PATCH 3/4] issue #99: code coverage --- .github/workflows/workflows.yml | 4 ++-- Dockerfile | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index 03442dbc..4574dc5f 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -1,4 +1,4 @@ -name: Docker build and push to ghcr.io/ai-cfia and lint test +name: Nachet backend workflow on: pull_request: @@ -13,7 +13,7 @@ jobs: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main secrets: inherit - deploy: + build-push-ghcr: uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-github-registry.yml@main with: diff --git a/Dockerfile b/Dockerfile index 65dad7e2..6c8b0185 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,4 @@ RUN pip3 install --no-cache-dir -r requirements.txt COPY . ./ -COPY . . - CMD hypercorn -b :$PORT app:app From 9a5643400942b8609f3b343f90a2644d76a36b64 Mon Sep 17 00:00:00 2001 From: ThomasCardin Date: Fri, 28 Jun 2024 13:54:21 -0400 Subject: [PATCH 4/4] issue #99: code coverage --- .github/workflows/workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflows.yml b/.github/workflows/workflows.yml index 4574dc5f..8f4be157 100644 --- a/.github/workflows/workflows.yml +++ b/.github/workflows/workflows.yml @@ -8,7 +8,7 @@ on: - synchronize jobs: - lint-test: + lint-coverage-test: uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main secrets: inherit