From 0d66f3536eb67d726619fa4dcffd3574b4c9a5ab Mon Sep 17 00:00:00 2001 From: Marcelo Lotif Date: Mon, 27 May 2024 22:35:53 -0400 Subject: [PATCH] Some more small fixes (#48) Adding verbose: true on codecov to help debug failure runs Adding the .swc folder to gitignore Removing the trailing slash on /api/server/job route which was causing problems with Next.js' redirect --- .github/workflows/integration_tests.yaml | 2 ++ .github/workflows/unit_tests.yaml | 2 ++ .gitignore | 1 + florist/api/routes/server/job.py | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml index 6210d1fa..e67a5cb6 100644 --- a/.github/workflows/integration_tests.yaml +++ b/.github/workflows/integration_tests.yaml @@ -64,6 +64,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} name: codecov-umbrella fail_ci_if_error: true + verbose: true attempt_limit: 5 attempt_delay: 30000 @@ -82,5 +83,6 @@ jobs: # token: ${{ secrets.CODECOV_TOKEN }} # name: codecov-umbrella # fail_ci_if_error: true +# verbose: true # attempt_limit: 5 # attempt_delay: 30000 diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 057eb459..90a87133 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -57,6 +57,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} name: codecov-umbrella fail_ci_if_error: true + verbose: true attempt_limit: 5 attempt_delay: 30000 - name: Setup yarn @@ -73,5 +74,6 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} name: codecov-umbrella fail_ci_if_error: true + verbose: true attempt_limit: 5 attempt_delay: 30000 diff --git a/.gitignore b/.gitignore index 74604df4..6e157248 100644 --- a/.gitignore +++ b/.gitignore @@ -170,3 +170,4 @@ next-env.d.ts /metrics/ /logs/ /.ruff_cache/ +/.swc/ diff --git a/florist/api/routes/server/job.py b/florist/api/routes/server/job.py index f710320d..258a127f 100644 --- a/florist/api/routes/server/job.py +++ b/florist/api/routes/server/job.py @@ -11,7 +11,7 @@ @router.post( - path="/", + path="", response_description="Create a new job", status_code=status.HTTP_201_CREATED, response_model=Job,