diff options
author | 2020-11-13 18:39:04 +0100 | |
---|---|---|
committer | 2020-11-14 00:54:59 +0100 | |
commit | 4d4dfe42632cc88265efcb8052b7bca5209d3f4d (patch) | |
tree | 01e5e8203dd891972fbfc9bc894fc79d3dbc6d1a /README.md | |
parent | CI: disable 'continueOnError' (diff) |
Migrate CI Pipeline to GitHub Actions
I've migrated our Azure CI Pipeline to GitHub Actions. While the general
workflow is the same, there are a few changes:
- `flake8` is no longer run by `pre-commit`, but rather by a separate
action that adds annotations to the GH Action results page.
- As we no longer have need for xml-formatted coverage files, the
xmlrunner for unittest has been removed as a dependency. Instead, we
now publish our coverage results to coveralls.io.
- We use version 2 of docker's GitHub Action build-and-push flow, which
is split over multiple steps instead of one.
- I have changed the badges to GitHub Actions and coveralls.io badges.
Note: Because we accept PRs from forks, we need to be a bit careful with
our secrets. While we do use the `pull_request_target` event, we should
not expose secrets in steps that run code from the repository.
Signed-off-by: Sebastiaan Zeeff <[email protected]>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,9 +1,8 @@ # Python Utility Bot [](https://discord.gg/2B963hn) -[](https://dev.azure.com/python-discord/Python%20Discord/_build/latest?definitionId=1&branchName=master) -[](https://dev.azure.com/python-discord/Python%20Discord/_apis/build/status/Bot?branchName=master) -[](https://dev.azure.com/python-discord/Python%20Discord/_apis/build/status/Bot?branchName=master) + +[](https://coveralls.io/github/python-discord/bot) [](LICENSE) [](https://pythondiscord.com) |