Commit 0b98d68d authored by masala's avatar masala

make coverage path inside project dir

parent 8e128fc9
Pipeline #617 failed with stages
in 47 minutes and 31 seconds
......@@ -49,12 +49,12 @@ test_authority_bootstrap_nonvoting:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapNonvoting
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapNonvoting -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapNonvoting -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_authority_bootstrap_voting:
artifacts:
......@@ -65,12 +65,12 @@ test_authority_bootstrap_voting:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapVoting
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapVoting -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapVoting -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_authority_bootstrap_threshold:
artifacts:
......@@ -81,12 +81,12 @@ test_authority_bootstrap_threshold:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapThreshold
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapThreshold -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestBootstrapThreshold -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_authority_multiple_voting_rounds:
artifacts:
......@@ -97,12 +97,12 @@ test_authority_multiple_voting_rounds:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestMultipleVotingRounds
- eval $TEST_COMMAND ./test/authority/... -run TestMultipleVotingRounds -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestMultipleVotingRounds -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_authority_join_consensus:
artifacts:
......@@ -113,12 +113,12 @@ test_authority_join_consensus:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestAuthorityJoinConsensus
- eval $TEST_COMMAND ./test/authority/... -run TestAuthorityJoinConsensus -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestAuthorityJoinConsensus -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_authority_topology_change:
artifacts:
......@@ -129,12 +129,12 @@ test_authority_topology_change:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/authority/... -run TestTopologyChange
- eval $TEST_COMMAND ./test/authority/... -run TestTopologyChange -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/authority/... -run TestTopologyChange -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/authority...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_client_connect:
artifacts:
......@@ -145,12 +145,12 @@ test_client_connect:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/client/... -run TestClientConnect
- eval $TEST_COMMAND ./test/client/... -run TestClientConnect -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/client/... -run TestClientConnect -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_client_receive_message:
artifacts:
......@@ -161,12 +161,12 @@ test_client_receive_message:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/client/... -run TestClientReceiveMessage
- eval $TEST_COMMAND ./test/client/... -run TestClientReceiveMessage -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/client/... -run TestClientReceiveMessage -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_client_reliable_delivery:
artifacts:
......@@ -177,12 +177,12 @@ test_client_reliable_delivery:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/client/... -run TestReliableDelivery
- eval $TEST_COMMAND ./test/client/... -run TestReliableDelivery -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/client/... -run TestReliableDelivery -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
test_client_multiple:
artifacts:
......@@ -193,12 +193,12 @@ test_client_multiple:
dependencies:
- dep
before_script:
- *inject-gopath
- mkdir -p coverage
- *inject-gopath
script:
- eval $TEST_COMMAND ./test/client/... -run TestMultipleClients
- eval $TEST_COMMAND ./test/client/... -run TestMultipleClients -coverprofile=coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html coverage/$CI_JOB_ID -o coverage/$CI_JOB_ID.html
- eval $TEST_COMMAND ./test/client/... -run TestMultipleClients -coverprofile=$CI_PROJECT_DIR/coverage/$CI_JOB_ID -coverpkg github.com/katzenpost/client...
- go tool cover -html $CI_PROJECT_DIR/coverage/$CI_JOB_ID -o $CI_PROJECT_DIR/coverage/$CI_JOB_ID.html
pages:
artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment