Skip to content

Commit

Permalink
Some more small fixes (#48)
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
lotif authored May 28, 2024
1 parent 23f00ef commit 0d66f35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,4 @@ next-env.d.ts
/metrics/
/logs/
/.ruff_cache/
/.swc/
2 changes: 1 addition & 1 deletion florist/api/routes/server/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@router.post(
path="/",
path="",
response_description="Create a new job",
status_code=status.HTTP_201_CREATED,
response_model=Job,
Expand Down

0 comments on commit 0d66f35

Please sign in to comment.