All Projects β†’ utgwkk β†’ pytest-github-actions-annotate-failures

utgwkk / pytest-github-actions-annotate-failures

Licence: MIT license
Pytest plugin to annotate failed tests with a workflow command for GitHub Actions

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pytest-github-actions-annotate-failures

Seleniumbase
A Python framework that inspires developers to become better test automation engineers. πŸ§ πŸ’‘
Stars: ✭ 2,520 (+4244.83%)
Mutual labels:  pytest, github-actions
branch-protection-bot
A bot tool to disable and re-enable "Include administrators" option in branch protection
Stars: ✭ 57 (-1.72%)
Mutual labels:  github-actions
gh-actions
A Github action for generating Terraform module documentation using terraform-docs and gomplate
Stars: ✭ 56 (-3.45%)
Mutual labels:  github-actions
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+139.66%)
Mutual labels:  github-actions
gtbot
ꡬ글 λ²ˆμ—­ APIλ₯Ό μ΄μš©ν•œ μŠ¬λž™ λ²ˆμ—­ λ΄‡μž…λ‹ˆλ‹€.
Stars: ✭ 34 (-41.38%)
Mutual labels:  pytest
notionproxy
Notion as a web site, inspired by react-notion-x.
Stars: ✭ 24 (-58.62%)
Mutual labels:  github-actions
algoliasearch-crawler-github-actions
Algolia Crawler Github action
Stars: ✭ 24 (-58.62%)
Mutual labels:  github-actions
cloudrun-fastapi
FastAPI on Google Cloud Run
Stars: ✭ 112 (+93.1%)
Mutual labels:  pytest
gatsby-personal-site
My personal site made with Gatsby
Stars: ✭ 31 (-46.55%)
Mutual labels:  github-actions
wordpress-skeleton
A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
Stars: ✭ 32 (-44.83%)
Mutual labels:  github-actions
hasura-action
GitHub Action wrapping the Hasura CLI
Stars: ✭ 39 (-32.76%)
Mutual labels:  github-actions
mern-app
Basic MERN app template for AWS EC2 Deployment guide
Stars: ✭ 30 (-48.28%)
Mutual labels:  github-actions
action-ssh
GitHub Action for executing SSH commands on remote servers
Stars: ✭ 60 (+3.45%)
Mutual labels:  github-actions
cloudflare-dns-action
A GitHub action to set a DNS record using Cloudflare on push to the master branch.
Stars: ✭ 41 (-29.31%)
Mutual labels:  github-actions
zola-deploy-action
Github action for building a Zola site and deploying to Github Pages
Stars: ✭ 131 (+125.86%)
Mutual labels:  github-actions
pytest-serverless
Automatically mocks resources from serverless.yml in pytest using moto.
Stars: ✭ 26 (-55.17%)
Mutual labels:  pytest
tarpaulin
πŸ“ˆ GitHub Action for code coverage reporting with tarpaulin
Stars: ✭ 69 (+18.97%)
Mutual labels:  github-actions
bx-github-ci
This tutorial provides one example on how a CI (Continuous Integration) workflow with the IAR Build Tools for Linux can be set up on GitHub. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 20 (-65.52%)
Mutual labels:  github-actions
prettier
πŸ”¨ Native, blazingly-fast Prettier CLI on Github Actions
Stars: ✭ 19 (-67.24%)
Mutual labels:  github-actions
pytest-flask-sqlalchemy
No description or website provided.
Stars: ✭ 14 (-75.86%)
Mutual labels:  pytest

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@v3

    - uses: actions/setup-python@v4
      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

If your test is running in a Docker container, you have to install this plugin and manually set GITHUB_ACTIONS environment variable to true inside of Docker container. (For example, docker-compose run --rm -e GITHUB_ACTIONS=true app -- pytest)

If your tests are run from a subdirectory of the git repository, you have to set the PYTEST_RUN_PATH environment variable to the path of that directory relative to the repository root in order for GitHub to identify the files with errors correctly.

Screenshot

Image from Gyazo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].