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

setup of github actions for ci #297

Merged
merged 19 commits into from
Jan 24, 2022
Merged

setup of github actions for ci #297

merged 19 commits into from
Jan 24, 2022

Conversation

dschlaep
Copy link
Member

@dschlaep dschlaep commented Jan 23, 2022

  • the development of github actions should have been on a dedicated branch instead of on master since the start ...!
  • move CI from travis and appveyor to github actions
  • updated googletest requires newer gcc and clang versions than currently implemented for travis and appveyor scripts

- the development should have been on a dedicated branch instead of on master since the start ...!
- add g++ for cygwin build
@dschlaep dschlaep changed the title github actions setup of github actions for ci Jan 23, 2022
@codecov
Copy link

codecov bot commented Jan 23, 2022

Codecov Report

Merging #297 (3ecbdc9) into master (22b578f) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #297   +/-   ##
=======================================
  Coverage   53.98%   53.98%           
=======================================
  Files          20       20           
  Lines        3490     3490           
=======================================
  Hits         1884     1884           
  Misses       1606     1606           
Impacted Files Coverage Δ
SW_Flow_lib.c 0.00% <ø> (ø)
SW_Model.c 67.01% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22b578f...3ecbdc9. Read the comment docs.

dschlaep and others added 2 commits January 23, 2022 09:50
- warning was issued on github actions for a build on windows-release with cygwin and gcc v11.2.0

- the argument of `isalpha()` is "int ch" (https://en.cppreference.com/w/c/string/byte/isalpha) but we were passing in a "char" (which may be signed or unsigned depending on platform and compiler)
- similarly to the use in the next line with `toupper()`, the fix is to convert to "int"
@dschlaep
Copy link
Member Author

this PR will close issue #298 (Move CI to github actions)

dschlaep and others added 16 commits January 24, 2022 08:42
- new step "check_documentation" (only on linux): install doxygen, build SOILWAT2 documentation, and check that no unexpected warnings occurred

- also: re-organized code coverage checks as separate job
- each job needs to check out the repository
- remove "main.yml"
- move job "build_nix" into script "main_nix.yml"
- move job "check_documentation" into script "check_doc.yml"
- move job "build_Windows_Cygwin" into script "main_win.yml"
- update compiler version requirements for unit tests
- update status badges (moving from travis and appveyor to github actions)
- move job "check_documentation" into script "check_doc.yml" (previously in "main.yml")
- install also doxygen-latex and graphviz dependencies
- workflow names are used in badges on README -> long names display poorly
- workflow names are used in badges on README -> long names display poorly
- workflow names are used in badges on README -> long names display poorlygithub actions: use shorter name for doc workflow
- fix doxygen "warning: documented empty return type ..." for functions that return "void": `lyrSoil_to_lyrTemp()`, `pot_soil_evap_bs()`, `write_headers_to_csv()`
- some doxygen hyperlinks no longer worked correctly -> use mostly markdown-style links (except for creating subpages)
- however, html tags don't work for doxygen documentation (as of v1.9.3) (see issue #299)
- close issue #267 (Remove from doc/doxygen_exceptions.txt: "Unexpected html tag <img>...")
- doxygen issue resolved with v1.8.16 (github actions installs v1.8.17 on ubuntu-release; and I get v1.9.3)
@dschlaep dschlaep merged commit c1638ac into master Jan 24, 2022
@dschlaep dschlaep deleted the feature_ghactions_v2 branch January 24, 2022 17:55
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.

None yet

1 participant