Skip to main content

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

Image from Gyazo

Project details


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.6.tar.gz.

File metadata

  • Download URL: pytest-github-actions-annotate-failures-0.0.6.tar.gz
  • Upload date:
  • Size: 2.2 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.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for pytest-github-actions-annotate-failures-0.0.6.tar.gz
Algorithm Hash digest
SHA256 11f1482da69feb526771ac4268806b5186469405e998320dc46b827d174d05ab
MD5 4e3900094d0d0e8210a533602b6a94c6
BLAKE2b-256 c11cdf7861e6e40ea7488e2ffa2025cb5c81d041356da74a6aff8b69cf0a1a3c

See more details on using hashes here.

File details

Details for the file pytest_github_actions_annotate_failures-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_github_actions_annotate_failures-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3f7976bb84b1c52c9289fce17370ce855cebdb95ded507261fd5bd3350e857e2
MD5 7348d8875e7920876d69ccf9445bddc4
BLAKE2b-256 4026a500fb220f906eee3f377f14e273340d0c5cda93c41f46975dc7e2f277af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page