pytest plugin to annotate failed tests with a workflow command for GitHub Actions
Project description
pytest-github-actions-annotate-failures
Pytest plugin to annotate failed tests with a workflow command for GitHub Actions
Usage
Just install and run pytest with this plugin in your workflow. For example,
name: test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install plugin
run: pip install pytest-github-actions-annotate-failures
- run: pytest
env:
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
Screenshot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest-github-actions-annotate-failures-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33040ffc920c8a1b5cb2c86e6785fc659d4281c82cef289a229a4ea4b6ff7a41 |
|
MD5 | 4d4b967822faac0be53f4ba47430a1fe |
|
BLAKE2b-256 | d1bf5783d3f7af1fe15b0c0f7ad8653f36a71fe64d025281b5f1efc9ef7b878f |
Close
Hashes for pytest_github_actions_annotate_failures-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6204b70514676834ad3a7cfc05550919cd30463eb1b617fb249ce0351d1247 |
|
MD5 | b77349b49388543c8b4510e9cae0546d |
|
BLAKE2b-256 | 10540758b4340f858398b70cd70fbf7331ff5f6a6ce64b609b690749e75902c3 |