more linter bug squashing

pull/108/head
Dave Musicant / thinkpad 2 years ago
parent d22e186654
commit 5371385aa1

@ -1,3 +1,4 @@
---
name: Gitwatch QA
on:
@ -9,7 +10,7 @@ on:
workflow_dispatch:
jobs:
#-----------------------------------------------------------------------------
#-------------------------------------------------------------------------
super-lint:
name: Lint Code Base
@ -36,7 +37,7 @@ jobs:
# https://github.com/kucherenko/jscpd/issues/481
FILTER_REGEX_EXCLUDE: \.github/linters/\.markdown-lint.yml
#-----------------------------------------------------------------------------
#-------------------------------------------------------------------------
bats:
name: BATS Tests

@ -7,7 +7,8 @@
load startup-shutdown
@test "commit log messages working" {
@test "commit log messages working"
{
# Start up gitwatch with logging, see if works
${BATS_TEST_DIRNAME}/../gitwatch.sh -l 10 "$testdir/local/remote" 3>&- &
GITWATCH_PID=$!

@ -7,7 +7,8 @@
load startup-shutdown
@test "remote git dirs working, with commit logging" {
@test "remote git dirs working, with commit logging"
{
# Move .git somewhere else
dotgittestdir=$(mktemp -d)
mv "$testdir/local/remote/.git" "$dotgittestdir"

@ -7,7 +7,8 @@
load startup-shutdown
@test "commit only when git status change" {
@test "commit only when git status change"
{
# Start up gitwatch and capture its output
${BATS_TEST_DIRNAME}/../gitwatch.sh "$testdir/local/remote" > "$testdir/output.txt" 3>&- &

@ -7,7 +7,8 @@
load startup-shutdown
@test "syncing correctly" {
@test "syncing correctly"
{
# Start up gitwatch and see if commit and push happen automatically
# after waiting two seconds
${BATS_TEST_DIRNAME}/../gitwatch.sh -r origin "$testdir/local/remote" 3>- &

Loading…
Cancel
Save