mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +00:00
tests refactoring
This commit is contained in:
14
tests.sh
vendored
14
tests.sh
vendored
@@ -1,10 +1,10 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
# author: deadc0de6 (https://github.com/deadc0de6)
|
||||
# Copyright (c) 2017, deadc0de6
|
||||
|
||||
# stop on first error
|
||||
#set -ev
|
||||
set -e
|
||||
#set -euo errtrace pipefailv
|
||||
set -euo errtrace pipefail
|
||||
|
||||
cur=$(cd "$(dirname "${0}")" && pwd)
|
||||
|
||||
@@ -24,10 +24,6 @@ python3 --version
|
||||
echo "checking syntax..."
|
||||
"${cur}"/scripts/check-syntax.sh
|
||||
|
||||
# test doc
|
||||
echo "checking documentation..."
|
||||
"${cur}"/scripts/check-doc.sh
|
||||
|
||||
# unittest
|
||||
echo "unittest..."
|
||||
"${cur}"/scripts/check-unittests.sh
|
||||
@@ -39,5 +35,9 @@ echo "tests-ng..."
|
||||
# merge coverage
|
||||
coverage combine coverages/*
|
||||
|
||||
# test doc
|
||||
echo "checking documentation..."
|
||||
"${cur}"/scripts/check-doc.sh
|
||||
|
||||
## done
|
||||
echo "All tests finished successfully"
|
||||
|
||||
Reference in New Issue
Block a user