mirror of
https://github.com/v2fly/domain-list-community.git
synced 2026-09-16 15:10:41 +03:00
Run unit tests in PR workflow
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
This commit is contained in:
parent
3347d40b92
commit
4ddbebf4c7
4
.github/workflows/test-pr.yml
vendored
4
.github/workflows/test-pr.yml
vendored
@ -27,6 +27,10 @@ jobs:
|
||||
go-version-file: test/go.mod
|
||||
cache-dependency-path: test/go.sum
|
||||
|
||||
- name: Run unit tests
|
||||
working-directory: test
|
||||
run: go test ./...
|
||||
|
||||
- name: Build .dat and .yml
|
||||
run: |
|
||||
[ -d ./base/data/ ] && [ -d ./test/data/ ] || exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user