CI: Change the local DoH port, run go tests, enable -race
This commit is contained in:
parent
3fce30d7a5
commit
3ec6a814c2
|
@ -1,7 +1,7 @@
|
|||
#! /bin/sh
|
||||
|
||||
DNS_PORT=5300
|
||||
HTTP_PORT=3000
|
||||
HTTP_PORT=3053
|
||||
TEST_COUNT=0
|
||||
|
||||
exec 2>error.log
|
||||
|
@ -24,7 +24,8 @@ rm -f blocked.log ip-blocked.log query.log nx.log whitelisted.log
|
|||
|
||||
t || (
|
||||
cd ../dnscrypt-proxy
|
||||
go build -mod vendor
|
||||
go test -mod vendor
|
||||
go build -mod vendor -race
|
||||
) || fail
|
||||
|
||||
section
|
||||
|
|
|
@ -12,7 +12,7 @@ cloaking_rules = 'cloaking-rules.txt'
|
|||
cache = true
|
||||
|
||||
[local_doh]
|
||||
listen_addresses = ['127.0.0.1:3000']
|
||||
listen_addresses = ['127.0.0.1:3053']
|
||||
cert_file = "../dnscrypt-proxy/localhost.pem"
|
||||
cert_key_file = "../dnscrypt-proxy/localhost.pem"
|
||||
|
||||
|
|
Loading…
Reference in New Issue