-
Notifications
You must be signed in to change notification settings - Fork 42
tests: skip tests that require git when running locally #2962
Copy link
Copy link
Closed
Labels
Milestone
Description
I got this error when running locally:
--- FAIL: TestBumpVersionsSuccess (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestBumpVersionsNoCargoTools (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestBumpVersionsNoSemverChecks (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestBumpVersionsLastTagError (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestBumpVersionsManifestError (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestMatchesBranchPointSuccess (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestMatchesBranchDiffError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestMatchesDirtyCloneError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestIsNewFile (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestIsNewFileDiffError (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestFilesChangedSuccess (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestFilesBadRef (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestFindManifest (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestLastTagSuccess (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestLastTagGitError (0.01s)
last_tag_test.go:56: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPreflightMissingUpstream (0.01s)
preflight_test.go:55: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPreflightWithTools (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPreflightToolFailure (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishSuccess (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishWithNewCrate (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishWithRootsPem (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishWithLocalChangesError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishLastTagError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishBadManifest (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishGetPlanError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishPlanMismatchError (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestPublishSkipSemverChecks (0.01s)
bump_versions_test.go:193: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestSuccess (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestBadDelta (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestBadManifest (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestBadContents (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestSkipUnpublished (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestBadVersion (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestNoVersion (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestUpdateManifestBadSidekickConfig (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestManifestVersionNeedsBumpSuccess (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestManifestVersionNeedsBumpNewCrate (0.01s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestManifestVersionNeedsBumpNoChange (0.02s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
--- FAIL: TestManifestVersionNeedsBumpBadDiff (0.02s)
bump_versions_test.go:178: /Users/julieqiu/bin/homebrew/bin/git init -b main: exit status 129
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]
--template <template-directory>
directory from which templates will be used
--bare create a bare repository
--shared[=<permissions>]
specify that the git repository is to be shared amongst several users
-q, --quiet be quiet
--separate-git-dir <gitdir>
separate git dir from working tree
Reactions are currently unavailable