whoops, had the test skipping logic in the wrong order

This commit is contained in:
David Dworken 2022-04-09 12:31:31 -07:00
parent 5496dc3a5e
commit 99794191dc

View File

@ -43,7 +43,7 @@ func RunInteractiveBashCommandsWithoutStrictMode(t *testing.T, script string) (s
}
func TestIntegration(t *testing.T) {
if os.Getenv("GITHUB_ACTIONS") == "" {
if os.Getenv("GITHUB_ACTIONS") != "" {
// TODO: debug why these tests fail on github actions, the error message is:
// `bash: cannot set terminal process group (683): Inappropriate ioctl for device\nbash: no job control in this shell`
t.Skip()
@ -58,7 +58,7 @@ func TestIntegration(t *testing.T) {
}
func TestIntegrationWithNewDevice(t *testing.T) {
if os.Getenv("GITHUB_ACTIONS") == "" {
if os.Getenv("GITHUB_ACTIONS") != "" {
// TODO: debug why these tests fail on github actions, the error message is:
// `bash: cannot set terminal process group (683): Inappropriate ioctl for device\nbash: no job control in this shell`
t.Skip()