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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9583fa3927fe6ea7532046df0d60a23d3da9b08b209c72f63572648637367307 |
|
MD5 | ce808a5edee1dff2dad1f7bd1b5db050 |
|
BLAKE2b-256 | fbd4b26772dc70958efb5614188ec8324eff4f201b6dac283083c2206c096ece |
Close
Hashes for pytest_github_actions_annotate_failures-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 767a1d04a307d6d33a8f7b792fed9b4aa904f52f650e8a89d79350a919bac90d |
|
MD5 | 5c277e8fec55a466a210254fe823d408 |
|
BLAKE2b-256 | 83832006a93b726b1bbca74d49b9cc2d4100591df385b95db1f53304aef4f78d |