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.0.8.tar.gz
.
File metadata
- Download URL: pytest-github-actions-annotate-failures-0.0.8.tar.gz
- Upload date:
- Size: 2.3 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 | 201fd980a9f626d6d536e29f46045294ddaef826a6d39bb2f7eea75268f8db7e |
|
MD5 | 63a2360d2051ce57c0283a05b61e172a |
|
BLAKE2b-256 | 9341d55f07ab369efdf9b1db74e269ed9d5c82f7d3cf5c8546c29b108c94b16e |
File details
Details for the file pytest_github_actions_annotate_failures-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: pytest_github_actions_annotate_failures-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.1 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 | 9a2f1a6e29705b716882e54a6a971c7cff4dde39683dafb5be0c17415aa0544f |
|
MD5 | 40bf744f772a6fee3aee1db5326ae0aa |
|
BLAKE2b-256 | f5f23f5d57471d416f4fb1d40a86e2831d7688931cced96a615558fd9f2a0b4f |