Skip to content

Commit

Permalink
testing: moved unit-tests to end of file b/c they are async
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoiro3 committed Feb 18, 2022
1 parent 5053f64 commit e81b9f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __tests__/test-ci.sh
Expand Up @@ -7,9 +7,6 @@ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=set
printf "flake8 count for max-complexity=10: "
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=setup.py,env

# Running unit-tests
python3 -m unittest tests.unittests

# End-to-end testing via Bats (Bash automated tests)
GITHUB_ACTIONS_E2E_PATH="/home/runner/work/mkdocs-multirepo-plugin/mkdocs_multirepo_plugin/__tests__/test.bats"
LOCAL_E2E_PATH="./__tests__/test.bats"
Expand All @@ -22,3 +19,6 @@ else
echo "Could not find the test.bats file. Please check /__tests__/test-ci.sh and correct the paths."
exit 1
fi

# Running unit-tests
python3 -m unittest tests.unittests

0 comments on commit e81b9f6

Please sign in to comment.