This commit is contained in:
Max 2021-10-07 16:56:30 +08:00
parent acd0208d6a
commit ac837b4c8e

View file

@ -102,13 +102,6 @@ jobs:
env:
PASSWORD: ${{ secrets.UNIT_PASS }}
run: |
make vet
make fmt-check
make misspell-check
make plugin
make migrate
make test
if [ "$DB_DRIVER" = "mysql" ]; then
XIANG_DB_PRIMARY="$DB_USER:$PASSWORD@$DB_HOST" make test
elif [ "$DB_DRIVER" = "postgres" ]; then
@ -117,6 +110,13 @@ jobs:
XIANG_DB_PRIMARY="$DB_HOST" make test
fi
cd xiang && make vet
cd xiang && make fmt-check
cd xiang && make misspell-check
cd xiang && make plugin
cd xiang && make migrate
cd xiang && make test
- name: Codecov Report
uses: codecov/codecov-action@v2
with: