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
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,27 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.13'
python-version: "3.13"

- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: .venv
key: ${{ runner.os }}-py3.13-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.13-venv-
- uses: ./.github/actions/setup-project

- name: ${{ matrix.check.name }}
run: ${{ matrix.check.run }}

test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -56,18 +55,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: .venv
key: ${{ runner.os }}-py${{ matrix.python-version }}-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py${{ matrix.python-version }}-venv-
- uses: ./.github/actions/setup-project

- name: Start required services (Greenmail)
run: docker compose up -d
- name: Test and measure coverage with pytest
Expand All @@ -86,20 +84,19 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.13'
python-version: "3.13"

- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
- uses: actions/cache@v4.0.0
- uses: actions/cache@v5.0.0
with:
path: .venv
key: ${{ runner.os }}-py3.13-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.13-venv-
- uses: ./.github/actions/setup-project

- name: Publish to PyPI
run: poetry publish --build
env:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

[1.3.0] - unreleased
--------------------

Added
^^^^^

* Support for DMARC 2.0 reports from [draft-ietf-dmarc-aggregate-reporting-32](https://datatracker.ietf.org/doc/draft-ietf-dmarc-aggregate-reporting/32/).


[1.2.0] - 2024-10-15
--------------------

Expand Down
4 changes: 2 additions & 2 deletions dmarc-aggregate-report.xsd → dmarc-aggregate-report-0.1.xsd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- from RFC7489 Appendic C -->
<?xml version="1.0"?>
<!-- from RFC7489 Appendic C -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://dmarc.org/dmarc-xml/0.1">

Expand Down Expand Up @@ -259,4 +259,4 @@
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</xs:schema>
Loading
Loading