Dockerize Django app with dev/beta/prod env config and uv #6

Merged
westfarn merged 5 commits from feature/4-dockerize-with-env-config into master 2026-07-07 11:23:50 -07:00
Showing only changes of commit a4b37a0bb0 - Show all commits
+10 -5
View File
@@ -13,13 +13,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python environment
- name: Install uv
run: |
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install dependencies
run: uv sync --frozen
- name: Run unit tests
env:
DJANGO_ENV: dev
DJANGO_SECRET_KEY: test-secret-key
run: |
cd company_site
../.venv/bin/python manage.py test
uv run python manage.py test