EpiModel / EpiModel-Gallery

Gallery of Network-Based Epidemic Model Templates for EpiModel
http://epimodel.org
MIT License
52 stars 31 forks source link

Transition from Travis CI to Github Actions #31

Closed smjenness closed 3 years ago

smjenness commented 3 years ago

Github actions needs to install all the relevant packages and then run this script:

https://github.com/EpiModel/EpiModel-Gallery/blob/master/test.sh

smjenness commented 3 years ago

@AdrienLeGuillou Do you think this would be relatively straightforward to implement? If we could borrow the R CMD Check workflow from our statnet packages?

martinamorris commented 3 years ago

@krivit transitioned all the statnet packages -- so you might want to check in with him.

smjenness commented 3 years ago

@martinamorris This is not a package, thus the (hopefully slight) wrinkle.

AdrienLeGuillou commented 3 years ago

It is now implemented.

I had to remove the ".Rprofile" file that initialized renv as renv is not compatible with changing the working directory (strategy used in "test.sh").

I also corrected some errors in the examples and updated the DESCRIPTION file to import EpiModel >= 2.0 and dplyr.

The model "2018-08-ObservedNetworkData" is not working for now when using EpiModel > 2.0.5 I will open another issue for it.

AdrienLeGuillou commented 3 years ago

I fixed all the gallery examples, now the checks run successfully using GH actions.

If that's fine by you we can close the issue

smjenness commented 3 years ago

Excellent, thank you!