feature/update-build-deps (#3)
Reviewed-on: http://brosner.dev/brosner/teufa/pulls/3
This commit is contained in:
parent
67f5ff7c4c
commit
5032064989
@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v5
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: "0.7.3"
|
version: "0.7.8"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: uv sync --group=test
|
run: uv sync --group=test
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
@ -53,7 +53,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DATABASE_URL: postgresql+psycopg://postgres:postgres@postgres:5432/postgres
|
DATABASE_URL: postgresql+psycopg://postgres:postgres@postgres:5432/postgres
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v4.4.1
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
- name: Upload test results to Codecov
|
- name: Upload test results to Codecov
|
||||||
|
@ -27,7 +27,7 @@ RUN apt-get update && \
|
|||||||
python3-dev \
|
python3-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.6 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.7 /uv /uvx /bin/
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
COPY . .
|
COPY . .
|
||||||
@ -39,7 +39,7 @@ RUN uv sync --frozen
|
|||||||
FROM base AS dev
|
FROM base AS dev
|
||||||
|
|
||||||
COPY --from=builder-base $APP_HOME $APP_HOME
|
COPY --from=builder-base $APP_HOME $APP_HOME
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.6 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.7 /uv /uvx /bin/
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ CMD ["teufa", "server", "--dev"]
|
|||||||
FROM base AS ci
|
FROM base AS ci
|
||||||
|
|
||||||
COPY --from=builder-base $APP_HOME $APP_HOME
|
COPY --from=builder-base $APP_HOME $APP_HOME
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.6 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.7 /uv /uvx /bin/
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user