Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- run: sudo apt-get update && sudo apt-get install -y gettext
- name: Install Python dependencies
run: python -m pip install --upgrade pip build wheel twine readme-renderer
- run: python -m build --sdist --wheel
Expand All @@ -26,7 +27,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- run: sudo apt install -y python3-enchant
- run: sudo apt-get update && sudo apt-get install -y gettext python3-enchant
- run: python -m pip install sphinxcontrib-spelling
- run: python -m pip install -e '.[docs]'
- run: python -m sphinx -W -b spelling docs docs/_build
Expand All @@ -49,6 +50,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt-get update && sudo apt-get install -y gettext
- run: python -m pip install -e '.[test]'
- run: python -m pip install Django~=${{ matrix.django-version }}.0
- run: python -m pytest
Expand All @@ -72,6 +74,7 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt-get update && sudo apt-get install -y gettext
- run: python -m pip install -e ".[test,wagtail]"
- run: python -m pip install wagtail~=${{ matrix.wagtail-version }}
- run: python -m pytest
Expand Down Expand Up @@ -100,6 +103,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v5
- run: sudo apt-get update && sudo apt-get install -y gettext
- run: python -m pip install -e ".[test,postgres]"
- run: psql template1 -c "CREATE EXTENSION citext;"
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- run: sudo apt-get update && sudo apt-get install -y gettext
- run: python -m pip install --upgrade pip build wheel
- run: python -m build --sdist --wheel
- uses: actions/upload-artifact@v5
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
requires = ["flit-gettext[scm]", "wheel"]
build-backend = "flit_gettext.scm"

[project]
name = "django-mail-auth"
Expand Down