docs(community): write a guide for packaging Falcon (#2409) #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |