-
Notifications
You must be signed in to change notification settings - Fork 6
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
adds github actions #197
adds github actions #197
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #197 +/- ##
===========================================
+ Coverage 47.62% 47.70% +0.07%
===========================================
Files 55 55
Lines 2589 2589
===========================================
+ Hits 1233 1235 +2
+ Misses 1356 1354 -2
Continue to review full report at Codecov.
|
@IndrajeetPatil @msevestre With the new code coverage GiHub action the usage of code coveage can be removed from AppVeyor.yml, right? Lines 54 to 60 in aea83b9
|
Yes, I think that should be okay. The R CMD Checks are failing though because the vignettes can't be knitted properly. |
.github/workflows/check-pak.yaml
Outdated
# Use older ubuntu to maximise backward compatibility | ||
- {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'} | ||
- {os: ubuntu-18.04, r: 'release'} | ||
- {os: ubuntu-18.04, r: 'oldrel-1'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"release" is the latest released r-version (like 4.1.2 now), "devel" is the next development version (e.g. 4.1.3 or 4.2.0)... and what is "oldrel-1"? 4.1.1 or 4.0.x or 3.6.5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
devel is 4.2.0
Rest are these versions:
library(rversions)
r_oldrel()
#> version date nickname
#> 122 4.0.5 2021-03-31 07:05:15 Shake and Throw
r_release()
#> version date nickname
#> 125 4.1.2 2021-11-01 08:05:12 Bird Hippie
Created on 2021-11-09 by the reprex package (v2.0.1)
I am gonna skip the R CMD Check GHA for now, and come back to it later. The code coverage, linting, and pkgdown (🤞 ) actions should work. |
Stupid question maybe: Why are we updating the way code coverage is performed? What is the benefit? |
specificaly we are not using our special secret key for coveralls. COVERALLS_TOKEN: |
No added benefit, except now we get everything in one place: GHA gives us : code coverage + website + lint detection + R CMD Check
We don't need to do this. GHA uses codecov and uses secret GitHub PAT provided for our repo, so we don't need to set anything. Are you set on using coveralls, or codecov is also fine? Both of them provide identical information. |
That said, I am not wedded to the idea. Given the complexities of dotnet wrappers, etc. We can use: That's also fine by me. |
Holy shit! pkgdown GHA works successfully! So, from now on, the website will update itself after each commit!! 🥳 @msevestre Can you please change settings/pages to the following: |
I was just wondering what was the benefit of migrating to this new GHA (I do not know the syntax so the 30 lines of yaml look a bit scary to me) where we had one line before. |
done |
correction (see HTTP vs https) |
Strange. This is not a pkgdown website. Something is amiss. What is the URL given by GitHub pages ( |
@IndrajeetPatil You are now admin..... enjoy:) |
Thanks! We just needed to enforce HTTPS protocal. The website is all set now and can be seen here: https://www.open-systems-pharmacology.org/TLF-Library/ The look of the website can be changed using the parameters here: Lines 3 to 6 in f6e5f9c
I am obseesed with dark mode, so that's why I have chosen. But feel free to change these later. |
Okay, I have turned off the dark mode now. I see the same output if I knit the vignette locally, so I don't think it has anything to do with pkgdown or GHA. |
@IndrajeetPatil Cool, well done! |
"normal" 🤣 |
No description provided.