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.
This commit is contained in:
medmunds
2022-01-07 11:21:26 -08:00
committed by Mike Edmunds
parent 26d2b5caa0
commit 8b0425f784
8 changed files with 433 additions and 236 deletions

View File

@@ -51,9 +51,13 @@ The package is released under the BSD license.
.. END shared-intro
.. image:: https://github.com/anymail/django-anymail/workflows/ci-cd/badge.svg?branch=main
:target: https://github.com/anymail/django-anymail/actions?query=workflow:ci-cd+branch:main
:alt: build status in GitHub Actions
.. image:: https://github.com/anymail/django-anymail/workflows/test/badge.svg?branch=main
:target: https://github.com/anymail/django-anymail/actions?query=workflow:test+branch:main
:alt: test status in GitHub Actions
.. image:: https://github.com/anymail/django-anymail/workflows/integration-test/badge.svg?branch=main
:target: https://github.com/anymail/django-anymail/actions?query=workflow:integration-test+branch:main
:alt: integration test status in GitHub Actions
.. image:: https://readthedocs.org/projects/anymail/badge/?version=stable
:target: https://anymail.readthedocs.io/en/stable/