chapel-lang / mason-registry

Package registry for mason, Chapel's package manager
17 stars 25 forks source link

Shift from Travis CI to Github Actions #48

Closed ankushbhardwxj closed 4 years ago

ankushbhardwxj commented 4 years ago

This PR aims to shift the mason registry from the existing Travis CI to Github Actions. The packages submitted by an user would be tested and built using workflows and actions. There are 2 modes of workflows : - pre-merge workflow & post-merge workflow.

Additional post-merge changes to make :

ankushbhardwxj commented 4 years ago

@ben-albrecht Could you provide me the credentials for git config --global user.name and git config --global user.email for this repository ? Also, should I calculate scores for existing packages and update the cache ? (without testing them since they fail mason publish --ci-check) Another small question, would you like the checks for git tag versioning, namespace collisions, be done in our bash scripts or in mason publish --ci-check ?

ben-albrecht commented 4 years ago

Also, should I calculate scores for existing packages and update the cache ? (without testing them since they fail mason publish --ci-check)

Do you mean compute the scores then manually add them? This sounds reasonable to me.

Another small question, would you like the checks for git tag versioning, namespace collisions, be done in our bash scripts or in mason publish --ci-check ?

I would prefer mason publish since that gives devs an opportunity to try this locally and catch these errors before opening a PR.

ankushbhardwxj commented 4 years ago

@ben-albrecht Made requested changes.