Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use new go-test-coverage-summary-action version #28

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

malaupa
Copy link
Contributor

@malaupa malaupa commented Jun 6, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Test Result

🙌 157 Tests pass

Test Details

🟢 TestAddrMonStartStop (0.00s)
🟢 TestAddrMonUpdates (0.00s)
🟢 TestNewAddrMon (0.00s)
🟢 TestNewMessage (0.00s)
🟢 TestNewOK (0.00s)
🟢 TestNewError (0.00s)
🟢 TestReadWriteMessage (0.00s)
🟢 TestRequestType (0.00s)
🟢 TestRequestData (0.00s)
🟢 TestRequestReply (0.00s)
🟢 TestRequestError (0.00s)
🟢 TestRequestClose (0.00s)
🟢 TestServerStartStop (0.00s)
🟢 TestServerRequests (0.00s)
🟢 TestNewServer (0.00s)
🟢 TestCPDStartStop (0.00s)
🟢 TestCPDHosts (0.00s)
🟢 TestCPDProbe (3.36s)
🟢 TestCPDResults (0.00s)
🟢 TestNewCPD (0.00s)
🟢 TestSetupVPNDevice (0.00s)
🟢 TestTeardownVPNDevice (0.00s)
🟢 TestSetVPNDNS (0.00s)
🟢 TestUnsetVPNDNS (0.00s)
🟢 TestCleanupVPNConfig (0.00s)
🟢 TestVPNConfigUpdateValid (0.00s)
🟢 TestVPNConfigUpdateJSON (0.00s)
🟢 TestNewVPNConfigUpdate (0.00s)
🟢 TestRequestWaitClose (0.00s)
🟢 TestDaemonConnect (0.00s)
🟢 TestDaemonDisconnect (0.00s)
🟢 TestServiceStartStop (0.00s)
🟢 TestServiceRequests (0.00s)
🟢 TestServiceSetProperty (0.00s)
🟢 TestNewService (0.00s)
🟢 TestDevMonStartStop (0.00s)
🟢 TestDevMonUpdates (0.00s)
🟢 TestNewDevMon (0.00s)
🟢 TestDNSMonStartStop (0.01s)
🟢 TestDNSMonUpdates (0.00s)
🟢 TestNewDNSMon (0.00s)
🟢 TestProxyStartStop (0.00s)
🟢 TestProxyReports (0.00s)
🟢 TestProxySetRemotes (0.00s)
🟢 TestProxySetWatches (0.00s)
🟢 TestNewProxy (0.00s)
🟢 TestRemotesAdd (0.00s)
🟢 TestRemotesRemove (0.00s)
🟢 TestRemotesFlush (0.00s)
🟢 TestRemotesGet (0.00s)
🟢 TestNewRemotes (0.00s)
🟢 TestReportString (0.00s)
🟢 TestReportWaitDone (0.00s)
🟢 TestNewReport (0.00s)
🟢 TestWatchesAdd (0.00s)
🟢 TestWatchesAddTemp (0.00s)
🟢 TestWatchesRemove (0.00s)
🟢 TestWatchesCleanTemp (0.00s)
🟢 TestWatchesFlush (0.00s)
🟢 TestWatchesContains (0.00s)
🟢 TestNewWatches (0.00s)
🟢 TestConnectStartStop (0.00s)
🟢 TestConnectDisconnect (0.00s)
🟢 TestConnectEvents (0.00s)
🟢 TestNewConnect (0.00s)
🟢 TestProfileMonHandleEvent (0.00s)
🟢 TestProfileMonStartStop (0.02s)
🟢 TestNewProfileMon (0.00s)
🟢 TestSleepMonHandleSignal (0.00s)
🟢 TestSleepMonStartStop (0.00s)
🟢 TestSleepMonEvents (0.00s)
🟢 TestNewSleepMon (0.00s)
🟢 TestAddressesAdd (0.00s)
🟢 TestAddressesRemove (0.00s)
🟢 TestAddressesGet (0.00s)
🟢 TestNewAddresses (0.00s)
🟢 TestDevicesAdd (0.00s)
🟢 TestDevicesRemove (0.00s)
🟢 TestDevicesGetReal (0.00s)
🟢 TestDevicesGetVirtual (0.00s)
🟢 TestDevicesGetAll (0.00s)
🟢 TestNewDevices (0.00s)
🟢 TestExcludesAddStatic (0.00s)
🟢 TestExcludesAddDynamic (0.00s)
🟢 TestExcludesRemove (0.00s)
🟢 TestExcludesCleanup (0.00s)
🟢 TestExcludesStartStop (0.00s)
🟢 TestNewExcludes (0.00s)
🟢 TestSplitRoutingHandleDeviceUpdate (0.00s)
🟢 TestSplitRoutingHandleAddressUpdate (0.00s)
🟢 TestSplitRoutingHandleDNSReport (0.00s)
🟢 TestSplitRoutingStartStop (0.00s)
🟢 TestSplitRoutingDNSReports (0.00s)
🟢 TestNewSplitRouting (0.00s)
🟢 TestCleanup (0.00s)
🟢 TestAllowDevsAdd (0.00s)
🟢 TestAllowDevsRemove (0.00s)
🟢 TestNewAllowDevs (0.00s)
🟢 TestAllowHostsAdd (0.00s)
🟢 TestAllowHostsRemove (0.00s)
🟢 TestAllowHostsStartStop (0.00s)
🟢 TestAllowHostsUpdate (1.01s)
🟢 TestNewAllowHosts (0.00s)
🟢 TestTrafPolHandleDeviceUpdate (0.00s)
🟢 TestTrafPolHandleDNSUpdate (1.00s)
🟢 TestTrafPolHandleCPDReport (1.00s)
🟢 TestTrafPolStartStop (0.01s)
🟢 TestNewTrafPol (0.00s)
🟢 TestCleanup (0.00s)
🟢 TestCreateConfigSplit (0.00s)
🟢 TestCreateConfigUpdate (0.00s)
🟢 TestParseEnvironmentSplit (0.00s)
🟢 TestParseDNSSplitExcXML (0.00s)
🟢 TestParseBypassVSubnetsXML (0.00s)
🟢 TestGetPostAuthXML (0.00s)
🟢 TestParseDNSSplitExc (0.00s)
🟢 TestParseBypassVSubnets (0.00s)
🟢 TestParseDisableAlwaysOnVPN (0.00s)
🟢 TestParseEnvironment (0.00s)
🟢 TestDBusClientSetGetConfig (0.00s)
🟢 TestDBusClientSetGetEnv (0.00s)
🟢 TestDBusClientSetGetLogin (0.00s)
🟢 TestDBusClientPing (0.00s)
🟢 TestDBusClientQuery (0.00s)
🟢 TestDBusClientAuthenticate (0.00s)
🟢 TestDBusClientConnect (0.00s)
🟢 TestDBusClientDisconnect (0.00s)
🟢 TestNewDBusClient (0.00s)
🟢 TestNewClient (0.00s)
🟢 TestConfigCopy (0.00s)
🟢 TestConfigEmpty (0.00s)
🟢 TestNewConfig (0.00s)
🟢 TestLoadConfig (0.00s)
🟢 TestLoginInfoCopy (0.00s)
🟢 TestLoginInfoValid (0.00s)
🟢 TestLoginInfoParseLine (0.00s)
🟢 TestLoginInfoFromJSON (0.00s)
🟢 TestDNSRemotes (0.00s)
🟢 TestSplitDNSExcludes (0.00s)
🟢 TestConfigCopy (0.00s)
🟢 TestConfigEmpty (0.00s)
🟢 TestConfigEqual (0.00s)
🟢 TestConfigValid (0.00s)
🟢 TestConfigJSON (0.00s)
🟢 TestNew (0.00s)
🟢 TestNewFromJSON (0.00s)
🟢 TestStatusCopy (0.00s)
🟢 TestJSON (0.00s)
🟢 TestNew (0.00s)
🟢 TestProfileGetAllowedHosts (0.00s)
🟢 TestProfileGetVPNServers (0.00s)
🟢 TestProfileGetVPNServerHostNames (0.00s)
🟢 TestProfileGetTNDServers (0.00s)
🟢 TestProfileGetTNDHTTPSServers (0.00s)
🟢 TestProfileGetAlwaysOn (0.00s)
🟢 TestNewProfile (0.00s)
🟢 TestLoadProfile (0.00s)

Coverage

Total coverage: 🟩🟩🟥🟥 56.1%

Coverage Details
Coverage File Uncovered Lines
🟩🟩🟩🟥 80.0% /internal/addrmon/addrmon.go 33-43, 77-79, 96-98
🟩🟩🟩🟥 75.0% /internal/api/message.go 37-39, 64-66, 69-71, 72-74, 79-81, 95-97, 104-106
🟩🟩🟩🟥 87.5% /internal/api/request.go 40-42, 48-50
🟩🟩🟥🟥 53.1% /internal/api/server.go 46-79, 97-102, 109-111, 115-117, 121-123, 134-136, 137-139
🟩🟩🟥🟥 64.6% /internal/cpd/cpd.go 49-51, 54-57, 59-62, 71-85, 101-102, 108-109, 122-124, 139-144, 147-150, 158-160, 170-174, 176-178, 181-190, 194-196, 210-212
🟥🟥🟥🟥 0.0% /internal/daemon/cmd.go 38-76
🟥🟥🟥🟥 0.0% /internal/daemon/daemon.go 83-808
🟩🟩🟥🟥 52.8% /internal/daemon/vpnconfig.go 14-36, 42-46, 49-53, 56-60, 71-77, 92-103, 108-116, 157-162
🟩🟩🟥🟥 73.7% /internal/daemon/vpnconfigupdate.go 21-23, 26-28, 29-31, 42-44, 53-55
🟩🟩🟩🟥 83.3% /internal/dbusapi/service.go 132-133, 137-139, 153-154, 158-160, 186-199, 207-209, 214-216, 217-219, 224-226, 282-284, 301-303, 364-364
🟩🟩🟩🟥 75.6% /internal/devmon/devmon.go 48-50, 56-58, 60-63, 78-88, 112-115, 122-124, 139-141
🟩🟥🟥🟥 47.2% /internal/dnsmon/dnsmon.go 24-33, 40-40, 51-53, 55-57, 61-63, 64-66, 74-92, 108-110
🟩🟥🟥🟥 43.6% /internal/dnsproxy/proxy.go 32-110, 120-125, 129-131, 144-146, 195-197
🟩🟩🟩🟩 95.7% /internal/dnsproxy/remotes.go 45-48
🟩🟩🟩🟩 100.0% /internal/dnsproxy/report.go
🟩🟩🟩🟩 97.3% /internal/dnsproxy/watches.go 90-92
🟥🟥🟥🟥 21.4% /internal/ocrunner/connect.go 57-134, 146-159, 163-168, 177-179, 183-184, 201-214, 244-274
🟩🟩🟥🟥 57.9% /internal/profilemon/profilemon.go 26-26, 34-37, 54-56, 58-60, 65-67, 72-92, 108-116
🟩🟩🟩🟥 77.8% /internal/sleepmon/sleepmon.go 26-26, 61-64, 73-76, 85-90, 105-107
🟩🟩🟩🟥 90.9% /internal/splitrt/addresses.go 37-39, 48-48
🟩🟩🟩🟩 100.0% /internal/splitrt/devices.go
🟩🟩🟩🟥 94.9% /internal/splitrt/excludes.go 148-150, 153-155
🟩🟩🟥🟥 71.4% /internal/splitrt/filter.go 19-25, 138-140, 222-229
🟩🟩🟥🟥 60.0% /internal/splitrt/route.go 20-28, 88-94
🟩🟩🟩🟥 85.7% /internal/splitrt/splitrt.go 68-72, 76-81, 108-110, 138-141, 170-173, 174-178, 236-241
🟩🟩🟩🟩 100.0% /internal/trafpol/allowdevs.go
🟩🟩🟥🟥 71.3% /internal/trafpol/allowhosts.go 41-52, 68-71, 98-103, 105-107, 210-235, 248-250, 252-255, 258-260
🟩🟩🟥🟥 66.7% /internal/trafpol/filter.go 15-21, 224-231
🟩🟩🟩🟥 85.7% /internal/trafpol/trafpol.go 29-31, 107-120
🟥🟥🟥🟥 0.0% /internal/vpncscript/client.go 17-49
🟥🟥🟥🟥 0.0% /internal/vpncscript/cmd.go 13-48
🟩🟩🟩🟥 82.9% /internal/vpncscript/config.go 24-26, 33-35, 50-52, 68-71, 86-92, 107-110, 118-120, 130-133, 141-143, 163-165
🟩🟩🟩🟥 94.4% /internal/vpncscript/env.go 139-142, 155-156, 385-388
🟩🟥🟥🟥 32.4% /pkg/client/client.go 119-121, 133-144, 147-159, 162-164, 172-175, 183-193, 200-202, 206-208, 215-278, 292-350, 357-359, 362-364, 365-367, 368-370, 375-449, 455-457, 464-475, 481-483, 490-494, 500-502, 503-505, 515-517, 519-523, 533-535
🟩🟥🟥🟥 39.0% /pkg/client/config.go 54-56, 72-97, 102-104, 121-123, 125-127, 133-162
🟩🟩🟩🟥 85.7% /pkg/logininfo/logininfo.go 19-21, 43-45, 70-72, 81-83
🟩🟩🟩🟥 85.7% /pkg/vpnconfig/config.go 49-51, 61-64, 102-104, 117-123, 173-175, 231-233, 246-248
🟩🟥🟥🟥 30.3% /pkg/vpnstatus/status.go 20-96, 113-115, 131-133, 142-144

@malaupa malaupa force-pushed the use_new_action_version branch from ac56412 to ee1e859 Compare June 6, 2023 09:02
@malaupa malaupa requested a review from jandd June 6, 2023 09:06
@malaupa malaupa merged commit efbcc11 into main Jun 6, 2023
@malaupa malaupa deleted the use_new_action_version branch June 6, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants