Skip to content

Commit 2afdcba

Browse files
authored
Merge branch 'master' into master
2 parents 061d103 + fd74a4d commit 2afdcba

30 files changed

+364
-303
lines changed

.github/workflows/generate-client.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
with:
2121
ref: ${{ github.head_ref }}
2222
token: ${{ secrets.FULL_STACK_FASTAPI_TEMPLATE_REPO_TOKEN }}
23-
- uses: actions/setup-node@v5
23+
- uses: actions/setup-node@v6
2424
with:
2525
node-version: lts/*
2626
- uses: actions/setup-python@v6
2727
with:
2828
python-version: "3.10"
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v6
30+
uses: astral-sh/setup-uv@v7
3131
with:
3232
version: "0.4.15"
3333
enable-cache: true

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_CONTEXT: ${{ toJson(github) }}
2929
run: echo "$GITHUB_CONTEXT"
30-
- uses: tiangolo/issue-manager@0.5.1
30+
- uses: tiangolo/issue-manager@0.6.0
3131
with:
3232
token: ${{ secrets.GITHUB_TOKEN }}
3333
config: >

.github/workflows/lint-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
23+
uses: astral-sh/setup-uv@v7
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

.github/workflows/playwright.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false
4949
steps:
5050
- uses: actions/checkout@v5
51-
- uses: actions/setup-node@v5
51+
- uses: actions/setup-node@v6
5252
with:
5353
node-version: lts/*
5454
- uses: actions/setup-python@v6
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
limit-access-to-actor: true
6262
- name: Install uv
63-
uses: astral-sh/setup-uv@v6
63+
uses: astral-sh/setup-uv@v7
6464
with:
6565
version: "0.4.15"
6666
enable-cache: true
@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ubuntu-latest
9595
steps:
9696
- uses: actions/checkout@v5
97-
- uses: actions/setup-node@v5
97+
- uses: actions/setup-node@v6
9898
with:
9999
node-version: 20
100100
- name: Install dependencies

.github/workflows/test-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
23+
uses: astral-sh/setup-uv@v7
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

backend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ COPY ./scripts /app/scripts
3434
COPY ./pyproject.toml ./uv.lock ./alembic.ini /app/
3535

3636
COPY ./app /app/app
37+
COPY ./tests /app/tests
3738

3839
# Sync the project
3940
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers

backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ To test the backend run:
9797
$ bash ./scripts/test.sh
9898
```
9999

100-
The tests run with Pytest, modify and add tests to `./backend/app/tests/`.
100+
The tests run with Pytest, modify and add tests to `./backend/tests/`.
101101

102102
If you use GitHub Actions the tests will run automatically.
103103

backend/app/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
def parse_cors(v: Any) -> list[str] | str:
1919
if isinstance(v, str) and not v.startswith("["):
20-
return [i.strip() for i in v.split(",")]
20+
return [i.strip() for i in v.split(",") if i.strip()]
2121
elif isinstance(v, list | str):
2222
return v
2323
raise ValueError(v)

backend/scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -e
44
set -x
55

6-
coverage run -m pytest
6+
coverage run -m pytest tests/
77
coverage report
88
coverage html --title "${@-coverage}"
File renamed without changes.

0 commit comments

Comments
 (0)