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

Add a real script for real tests #1

Merged
merged 9 commits into from Aug 2, 2017

Conversation

Projects
None yet
1 participant
@bf4
Copy link
Owner

bf4 commented Aug 1, 2017

No description provided.

@bf4 bf4 force-pushed the add_github_status_script branch 2 times, most recently from dd02aa7 to ec1fbc9 Aug 1, 2017

@bf4

This comment has been minimized.

Copy link
Owner

bf4 commented Aug 1, 2017

screen shot 2017-08-01 at 4 24 56 pm

1..4
ok 1 configure with no arguments
ok 2 configure help
ok 3 configure thing
ok 4 configure a bunch of things
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.

fatal: Couldn't find remote ref refs/pull/ec1fbc95e98878968a7e7d202debb5276c782dcd/head
[INFO] pr ec1fbc95e98878968a7e7d202debb5276c782dcd, sha ec1fbc95e98878968a7e7d202debb5276c782dcd
url https://api.github.com/repos/bf4/script_testing/statuses/ec1fbc95e98878968a7e7d202debb5276c782dcd
state success
description Tests passed
target_url None
context tests
[INFO] END Running script: github_status
Checking:
bin/lint-shell bin/setup bin/setup-deps-linux bin/setup-deps-osx bin/test
SUCCESS[shellcheck]
fatal: Couldn't find remote ref refs/pull/ec1fbc95e98878968a7e7d202debb5276c782dcd/head
[INFO] pr ec1fbc95e98878968a7e7d202debb5276c782dcd, sha ec1fbc95e98878968a7e7d202debb5276c782dcd
url https://api.github.com/repos/bf4/script_testing/statuses/ec1fbc95e98878968a7e7d202debb5276c782dcd
state success
description Shellcheck satisfactory
target_url None
context lint/shell
[INFO] END Running script: github_status

and then

libexec/github_status get ec1fbc9 -owner bf4 -repo script_testing
fatal: Couldn't find remote ref refs/pull/ec1fbc9/head
pr=ec1fbc9  state= success   repo= bf4/script_testing   sha= ec1fbc95e98878968a7e7d202debb5276c782dcd

    state       success
    context     tests
    description Tests passed
    target_url  None

    state       success
    context     lint/shell
    description Shellcheck satisfactory
    target_url  None

    state       success
    context     ci/circleci
    description Your tests passed on CircleCI!
    target_url  https://circleci.com/gh/bf4/script_testing/6?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
[INFO] END Running script: github_status

or

📝 $ DEBUG=true libexec/github_status get 1 -owner bf4 -repo script_testing
[DEBUG] Processing 'get'. All 6 options are: get
1
-owner
bf4
-repo
script_testing
[DEBUG] cmd=get pr=1
[DEBUG] Processing '-owner'. All 4 options are: -owner
bf4
-repo
script_testing
[DEBUG] owner=bf4
[DEBUG] Processing '-repo'. All 2 options are: -repo
script_testing
[DEBUG] repo=script_testing
[DEBUG] Final 0 Options are:
[DEBUG] pr 1, sha ec1fbc95e98878968a7e7d202debb5276c782dcd
pr=1  state= success   repo= bf4/script_testing   sha= ec1fbc95e98878968a7e7d202debb5276c782dcd

    state       success
    context     tests
    description Tests passed
    target_url  None

    state       success
    context     lint/shell
    description Shellcheck satisfactory
    target_url  None

    state       success
    context     ci/circleci
    description Your tests passed on CircleCI!
    target_url  https://circleci.com/gh/bf4/script_testing/6?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
[INFO] END Running script: github_status

@bf4 bf4 force-pushed the add_github_status_script branch from ec1fbc9 to 133f1c3 Aug 1, 2017

@bf4 bf4 force-pushed the add_github_status_script branch 2 times, most recently from 3598e74 to 5b921e1 Aug 2, 2017

@bf4 bf4 force-pushed the add_github_status_script branch from 5b921e1 to de4a507 Aug 2, 2017

@bf4 bf4 force-pushed the add_github_status_script branch from 423bb4a to 414fca9 Aug 2, 2017

@bf4 bf4 force-pushed the add_github_status_script branch from d9ef0a4 to 3b10bdd Aug 2, 2017

@bf4

This comment has been minimized.

Copy link
Owner

bf4 commented Aug 2, 2017

screen shot 2017-08-02 at 11 28 58 am

@bf4 bf4 merged commit 87c3132 into master Aug 2, 2017

4 checks passed

ci/circleci Your tests passed on CircleCI!
Details
ci/minimal_status Minimal status description
lint/shell Shellcheck satisfactory
tests Tests passed
Details

@bf4 bf4 deleted the add_github_status_script branch Aug 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment