dondi / GRNsight

Web app and service for modeling and visualizing gene regulatory networks.
http://dondi.github.io/GRNsight
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Migrate CI unit-testing and coverage reports to GitHub Actions #1118

Closed dondi closed 1 week ago

dondi commented 2 months ago

As seen in #1044 and #1095, our existing use of Travis and Coveralls for automated tests and coverage reports, respectively, has become out of date and potentially no longer feasible given changes to how Travis and Coveralls operate. In the meantime, GitHub introduced their Actions tab and this is a potential replacement for both services

We can explore how to do that and transition accordingly when ready

dondi commented 2 months ago

Sample repo that has CI set up with GitHub actions: https://github.com/vitejs/vite

akaiap commented 1 month ago

Next Steps for this week

dondi commented 1 month ago

Branch is ready to go but @akaiap just needs to finish SSH key setup in order to push to the repo. She will do this 10/17 and signal the group if there are any questions

akaiap commented 4 weeks ago
akaiap commented 4 weeks ago

Errors to note after syncing the syncing package-lock.json with package.json:

  1. Deprecated Dependencies --Many dependencies have been outdated or deprecated versions, as seen in the warnings. but it won't stop the workflow from running. But definitely something to note.
  2. There are missing Ubuntu packages required for canvas. These packages are used to build canvas correctly in a linux environment like the one used by Actions.
dondi commented 3 weeks ago

We took a look at the latest version of the config file and noticed that the initial core issue with running the latest settings involves the on block in the YAML file

@akaiap can do additional lookup on this value so that we can get the Action to execute at precisely the times that we want (e.g., upon every push vs. upon every PR, etc.)

@ceciliazaragoza found a link that looks like a good start: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs

akaiap commented 2 weeks ago

Updates:

Success!

dondi commented 1 week ago

The review requested for this issue isn’t a traditional “QA” action, but just a general monitoring now that any push to beta—and any branches taken from beta from this point—should automatically a generate a workflow run, seen in the Actions tab:

image

We can review results at the 11/20 meeting and close the issue then

dondi commented 1 week ago

We’ve seen a few cycles of this and it looks good to go