Skip to content

Commit a8bf47e

Browse files
author
Janek Mangold
committed
feat: add CI configuration for Django template testing
1 parent 9f51e74 commit a8bf47e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci.yml
2+
on:
3+
push:
4+
5+
jobs:
6+
django-template-test:
7+
name: Django Template Test
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python_version: [3.12, 3.13]
12+
postgresql_version: [16, 17]
13+
username_type: [email, username]
14+
use_drf: [y, n]
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v6
20+
- name: Run Django Template Tests
21+
run: |
22+
uvx cookiecutter django -v --no-input -o test/ \
23+
python_version=${{ matrix.python_version }} \
24+
postgresql_version=${{ matrix.postgresql_version }} \
25+
username_type=${{ matrix.username_type }} \
26+
use_drf=${{ matrix.use_drf }}

0 commit comments

Comments
 (0)