g
This commit is contained in:
@@ -13,13 +13,18 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python environment
|
- name: Install uv
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv .venv
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
.venv/bin/pip install --upgrade pip
|
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||||
.venv/bin/pip install -r requirements.txt
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: uv sync --frozen
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
|
env:
|
||||||
|
DJANGO_ENV: dev
|
||||||
|
DJANGO_SECRET_KEY: test-secret-key
|
||||||
run: |
|
run: |
|
||||||
cd company_site
|
cd company_site
|
||||||
../.venv/bin/python manage.py test
|
uv run python manage.py test
|
||||||
|
|||||||
Reference in New Issue
Block a user