mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Disables IP verification by upgrading filtermail to v0.6, changelog: <https://github.com/chatmail/filtermail/releases/tag/v0.6.0> Messages using domain-literal addresses no longer require to match the origin SMTP connection IP anymore. This allows for example a relay using IPv4 email addresses to send messages to other relays over IPv6. This is not considering a breaking change as IP-address-only relays are not considered a stable feature. Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
tox:
|
|
name: isolated chatmaild tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
# Checkout pull request HEAD commit instead of merge commit
|
|
# Otherwise `test_deployed_state` will be unhappy.
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- name: download filtermail
|
|
run: curl -L https://github.com/chatmail/filtermail/releases/download/v0.6.0/filtermail-x86_64 -o /usr/local/bin/filtermail && chmod +x /usr/local/bin/filtermail
|
|
- name: run chatmaild tests
|
|
working-directory: chatmaild
|
|
run: pipx run tox
|
|
|
|
scripts:
|
|
name: deploy-chatmail tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: initenv
|
|
run: scripts/initenv.sh
|
|
|
|
- name: append venv/bin to PATH
|
|
run: echo venv/bin >>$GITHUB_PATH
|
|
|
|
- name: run formatting checks
|
|
run: cmdeploy fmt -v
|
|
|
|
- name: run deploy-chatmail offline tests
|
|
run: pytest --pyargs cmdeploy
|
|
|
|
# all other cmdeploy commands require a staging server
|
|
# see https://github.com/deltachat/chatmail/issues/100
|