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

File metadata

  • Download URL: pytest-github-actions-annotate-failures-0.0.7.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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pytest-github-actions-annotate-failures-0.0.7.tar.gz
Algorithm Hash digest
SHA256 cc8f76419d71959bf1ce029ee5c40e0ff787a7642d1455c533d131d1591ecf52
MD5 84cae67b6c3f97a8a1df38fb152a7e77
BLAKE2b-256 e6b9a3c77fc1fbfd9cb9c65bade1f9ec23773ad448912c326e124c5d23463535

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_github_actions_annotate_failures-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 55ed180ad7c1fbaedd37610894a0a424385ef9ea49ccf92ffc99f459916ba7e1
MD5 ef83362c26f476f71a95e8f9f4fbfaa6
BLAKE2b-256 fb0cd14b41855c1369f5f833ff03464420efe03d5a82a84d8316abb8b63940c4

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