Skip to content

chore: prepare 4.0.0b4 (#2369) #17

chore: prepare 4.0.0b4 (#2369)

chore: prepare 4.0.0b4 (#2369) #17

Workflow file for this run

# Test that the current dev branch does not break GNU Mailman 3.
name: test-mailman
on:
# Trigger the workflow on master but also allow it to run manually.
workflow_dispatch:
push:
branches:
- master
jobs:
run_tox:
name: tox -e falcon-nocov
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Run tox
uses: docker://ghcr.io/maxking/mailman-ci-runner-falcon:master
with:
# NOTE(vytas,maxking): The below hack to sed away ::1 is needed since
# Mailman’s aiosmtpd isn’t able to bind to local IPv6 loopback
# inside the container and raises exceptions upon teardown.
args: |
/bin/bash -c "
export LC_ALL=C.UTF-8 &&
tools/testing/fetch_mailman.sh &&
sed '/::1/d' /etc/hosts > /tmp/hosts && cat /tmp/hosts > /etc/hosts &&
python3 --version &&
tox --version &&
tox -c .ecosystem/mailman/tox.ini -e falcon-nocov"