Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect GitHub Actions CI better #5609

Closed
bahmutov opened this issue Nov 5, 2019 · 3 comments · Fixed by #5687
Assignees

Comments

@bahmutov
Copy link
Collaborator

@bahmutov bahmutov commented Nov 5, 2019

Cypress v3.6.0 on GitHub actions does not send CI name, should also send CI build id (workflow name + SHA)

Typical env variables

GITHUB_ACTION=run1
GITHUB_ACTIONS=true
GITHUB_ACTOR=bahmutov
GITHUB_BASE_REF=master
GITHUB_EVENT_NAME=pull_request
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
GITHUB_HEAD_REF=add-github-actions
GITHUB_REF=refs/pull/320/merge
GITHUB_REPOSITORY=cypress-io/cypress-example-kitchensink
GITHUB_SHA=d8ab5f0dbc430ee17a1ad2324161a96654b27e9e
GITHUB_WORKFLOW=Cypress tests
GITHUB_WORKSPACE=/home/runner/work/cypress-example-kitchensink/cypress-example-kitchensink

Dashboard view

Screen Shot 2019-11-05 at 10 17 12 AM

@cypress-bot

This comment has been minimized.

Copy link

@cypress-bot cypress-bot bot commented Nov 15, 2019

The code for this is done in cypress-io/cypress#5687, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot

This comment has been minimized.

Copy link

@cypress-bot cypress-bot bot commented Nov 27, 2019

Released in 3.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.