Commit Graph

23 Commits

Author SHA1 Message Date
medmunds
353e793323 Docs: update absolute links to anymail.dev
Canonical hosting for docs moved from anymail.readthedocs.io
to anymail.dev in May 2022.
2023-02-08 11:25:11 -08:00
medmunds
b4e22c63b3 Reformat code with automated tools
Apply standardized code style
2023-02-06 15:05:24 -08:00
medmunds
416d7d433c CI: remove workaround for broken PyPY sqlite release 2022-12-18 16:20:24 -08:00
medmunds
07f5d5f224 CI: update action dependencies
Fixes Node 12 deprecation warnings.

- actions/checkout@v2 --> v3
- actions/setup-python@v2 --> v4
- fkirc/skip-duplicate-actions@v3.4.1 --> v5.3.0
  [pinned to hash]

Also set continue-on-error true in skip_duplicate_runs job,
per recommendation in skip-duplicate-actions release notes.
2022-12-18 16:20:24 -08:00
medmunds
d37f4ef109 Fix test workflows (again)
Pin to tox v3 for now - in one more place.
2022-12-15 16:29:27 -08:00
medmunds
e9f3444daa Fix test workflows
Pin to tox v3 for now.
(tox plugins aren't ready for tox v4 yet.)
2022-12-15 09:54:44 -08:00
medmunds
448e8d9d95 Tests: move integration tests to Django 4.1 2022-08-29 13:25:47 -07:00
medmunds
c7288b9b72 CI: Work around outdated pypy-3.8-v7.3.8 sqlite
pypy-3.8-v7.3.8 accidentally shipped with sqlite v3.7.17,
which is a decade old, and causes the tests to fail with
`django.core.exceptions.ImproperlyConfigured:
SQLite 3.9.0 or later is required`.

Until pypy-3.8-v7.3.9 is available in actions/setup-python,
work around the problem by forcing unqualified "pypy-3.8"
to specific (older) version "pypy-3.8-v7.3.7".

See https://foss.heptapod.net/pypy/pypy/-/issues/3690
and https://github.com/actions/setup-python/issues/339.
2022-03-17 11:58:34 -07:00
medmunds
ddeb938a3c Mandrill: re-enable integration tests
Get Mandrill integration tests working again,
by using a test-mode API key and a trial account.
2022-02-02 16:36:11 -08:00
Mike Edmunds
5fdc285e82 CI/Docs: move to anymail.dev
Move all integration tests and contact emails to anymail.dev. 
(Stop using anymail.info.)
2022-02-02 13:59:09 -08:00
medmunds
4d93183e5e CI: get GitHub test matrix from tox envlist
Stop maintaining duplicate (and often not-quite-
in-sync) test matrices in tox.ini and test.yml.
2022-01-30 11:11:41 -08:00
medmunds
e8a802b7ad CI: Upgrade skip-duplicates in integration tests 2022-01-10 13:42:45 -08:00
medmunds
8b0425f784 CI: Refactor workflows, update test matrix
* Split test, integration-test, and release workflows,
  simplifying config and logic for each.
* Use environment to separate secrets for release workflow.
* Update test matrix with newer Django and Python versions.
2022-01-10 13:42:45 -08:00
Mike Edmunds
d79c3c2c05 Automate release process
Update GitHub workflow to automatically release
when tagged with v* (following successful tests).
2021-06-15 16:23:08 -07:00
Tilmann Becker
e90c10b546 Add Postal support
Thanks to @tiltec for researching, implementing, testing and documenting it.
2021-06-07 17:11:35 -07:00
medmunds
67bf5a5912 CI: split lint, docs jobs
(They had been combined to minimize Travis-CI jobs;
not an issue with GitHub Workflows.)
2021-05-19 13:48:22 -07:00
medmunds
a522fb9f60 CI: don't run duplicate tests on PRs
Use skip-duplicate-actions to avoid re-running
tests if code hasn't changed. (Also avoids running
tests twice on push that opens a PR.)
2021-01-26 13:55:17 -08:00
medmunds
614eb9e5ce Expand GitHub contributing info 2021-01-26 13:55:17 -08:00
medmunds
f039366bf0 Test against Django 3.2 prerelease
* Omit default_app_config under Django 3.2 and later
  to avoid DeprecationWarning
* Also adds testing on Python 3.9, 3.10-alpha
* Also updates test matrix to include all supported
  Python versions (some older Django versions expanded
  Python support in patch releases)
2021-01-26 13:55:17 -08:00
medmunds
75313c2aa2 Enable CI tests on pull requests 2020-12-01 12:11:44 -08:00
Mike Edmunds
5cbaa24002 Move CI testing to GitHub Actions
Related changes:
* remove Travis-CI config; stop running tests on Travis
* rename live integration test environment variables
  to all start with `ANYMAIL_TEST_` (simplifies tox config)
2020-11-28 18:08:01 -08:00
medmunds
e91d95a41e Suggest including settings and code in GitHub issue template 2019-02-19 17:23:23 -08:00
medmunds
6ddfe8e5d6 Add GitHub issue template 2017-07-13 17:02:08 -07:00