Hide/Group jobs in the status checks list

Hi, we have cypress tests running end-to-end tests in parallel and it can be quite a lengthy list. Is there a way to hide these jobs or group them so the PR status check list doesn’t get too populated?

Below is a snippet of the workflow from cypress github action

name: Parallel Cypress Tests
on: [push]
jobs:
  test:
    name: Cypress run
    runs-on: ubuntu-16.04
    strategy:
      fail-fast: false
      matrix:
        # run 3 copies of the current job in parallel
        containers: [1, 2, 3]
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Cypress run
        uses: cypress-io/github-action@v2
        with:
          record: true
          parallel: true
          group: 'Actions example'

Not that I can think of. Each job is going to show up as a check on the PR. You can click the “Hide All Checks” link to collapse it down, but that is about the best I can think of.

Thanks so much for your quick response!
Just curious: would this be something that could be easily supported? I imagine a lot of projects may have several jobs triggered per PR.

I’m not sure how easily supported it would be, but my bigger question is why would you not want to see all the checks that apply to your PR? Are you asking to just have that area collapsed by default? Or for something else?

If I said “how would you like to see this feature implemented”, what would you tell me?

1 Like

why would you not want to see all the checks that apply to your PR?

In my team’s case, we have several parallelised tests that are all in the same group of tests (end-to-end tests). In that same group of tests, there is a separate job that runs before all the tests and it verifies if a review environment (created on each pr) is successfully deployed —otherwise the tests will not run. Not all of these necessarily need to show as they are all part of the end-to-end tests.

Are you asking to just have that area collapsed by default? Or for something else?

Collapsed by default actually sounds like a good idea!
If you look at what we see here (screenshot below), there are only 5 main “checks” we want to keep track of: unit tests, security tests, end-to-end tests, codeclimate, and review environment creation. However, because of the parallel tests you would not be able to see everything at a quick glance.

If I said “how would you like to see this feature implemented”, what would you tell me?

On top of your idea of some collapsible element, grouping/collapsing all related jobs into its workflow would be awesome. Maybe it’s something we can specify in the workflow file? (probably not a good solution but just want to throw some ideas in :grin: )

name: E2E Tests
on: [pull_request]
pr_check_view: collapsed  <--- [collapsed, hidden, display_all_jobs]
jobs: [...]
1 Like

This is good feedback. I’ll post it internally and maybe it will bubble up to the backlog.

1 Like

hi @mickeygousset , are you able to post any update here please? thank you!