CI container with uv
This commit is contained in:
parent
594d2afc58
commit
a93ae20779
2 changed files with 2 additions and 2 deletions
|
@ -10,6 +10,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: uv install
|
run: uv pip install --system .
|
||||||
- name: Run basic test (bootstrap)
|
- name: Run basic test (bootstrap)
|
||||||
run: .venv/bin/pytest -s tests/basic.py
|
run: .venv/bin/pytest -s tests/basic.py
|
||||||
|
|
|
@ -3,7 +3,7 @@ MAINTAINER philo email phil.dev@philome.mooo.com
|
||||||
|
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install --no-install-recommends -y python-is-python3 python3-pip python3-venv nodejs git
|
RUN apt install --no-install-recommends -y python-is-python3 python3-pip python3-venv nodejs git
|
||||||
RUN pip install --break-system-packages pdm
|
RUN pip install --break-system-packages uv
|
||||||
|
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue