Skip to content

Conversation

@wneessen
Copy link
Owner

@wneessen wneessen commented Oct 3, 2024

We are currently running tests for all OS and 3 Go versions with actual connections to real mail servers. These cause a lot of traffic and are therefore much likely to fail due to connection timeouts. The actual online tests are much to redundant right now.

This PR updates the workflow to only run "online" tests on the latest Go version for each of Linux, Windows and MacOS. The Sonarqube test has been converted to "offline" tests as well. Additionally we now run "offline" tests for the latest 4 Go releases on all OSes instead.

Winni Neessen added 2 commits October 3, 2024 16:00
Introduce a new offline tests workflow to validate Go code across multiple OS and Go versions. This commit also removes unused environment variables and updates the Go version syntax in the SonarQube workflow.
This commit updates the Codecov GitHub Actions workflow to run only on Go version 1.23, removing support for 1.19 and 1.20. Simplifying to a single Go version aims to streamline the testing process and reduce potential compatibility issues.
@codecov
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.76%. Comparing base (ff5454a) to head (6f10892).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   84.42%   84.76%   +0.34%     
==========================================
  Files          27       27              
  Lines        2350     2350              
==========================================
+ Hits         1984     1992       +8     
+ Misses        233      229       -4     
+ Partials      133      129       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Eliminated unnecessary environment variables and pkg update step to streamline the CI process. Simplified the test script by removing verbose flag from the go test command.
@wneessen wneessen merged commit 28103ed into main Oct 3, 2024
9 of 17 checks passed
@wneessen wneessen deleted the codecov-testing branch October 3, 2024 14:15
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