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
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
File details
Details for the file pytest-github-actions-annotate-failures-0.1.0.tar.gz
.
File metadata
- Download URL: pytest-github-actions-annotate-failures-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568cf8338d99e53a747fb3fd1b007978721f542ce0ba5992b67f2d27effe1487 |
|
MD5 | ca3895cf247b25d614df7a18e13dc767 |
|
BLAKE2b-256 | c892d1c6760f8661a1ed6dcecbcbd3c303449c0e1845083ba247299fcef29011 |
File details
Details for the file pytest_github_actions_annotate_failures-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_github_actions_annotate_failures-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6c2ad736e37e12db36124fe22a70987ebd1a234b7d9c773dcdf505bfc32315 |
|
MD5 | c262576c042cce1ba86ce2e926e31919 |
|
BLAKE2b-256 | cf32c8c46d2db5dc413c3f88396c9571dd5f68cccc147bfd07c67dfc7674c0ac |