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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296d77334dc3404220ad5d458b4773dfbbd28c3405c1f0871794d40c40d64486 |
|
MD5 | 730bb98aaf5a7dd68b111d758ab410a8 |
|
BLAKE2b-256 | 8ae8b796d42095f52fb7ced747ddb6221b0acadffaf00d10c16332d1c2604c4f |
Close
Hashes for pytest_github_actions_annotate_failures-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca72253da15f54ee57ae76891d8a1cb05240655a96439bca70c933cb6526668 |
|
MD5 | 4e39d0fa1871fc5a3b08934c277fdb71 |
|
BLAKE2b-256 | 8472727e0fc642cf402816bf742a18deb4dea53ce4735b54ad982764433e423c |