Skip to content

Instantly share code, notes, and snippets.

@bloodearnest
Created October 26, 2020 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodearnest/7ed75d71e706d2fd1cea5ef283998ea0 to your computer and use it in GitHub Desktop.
Save bloodearnest/7ed75d71e706d2fd1cea5ef283998ea0 to your computer and use it in GitHub Desktop.
OpenSAFELY Github actions
=========================
Central repository of github workflows that can be referenced from OpenSAFELY projects.
Note: these don't yet exist, I'm trying to figure out what we want.
| Study Actions | Description | Stage |
----------------------------------------|-----------------------------------------------|---------------|
| opensafely/test-study-stata | Run tests for a stata study | pull_request |
| opensafely/test-study-python | Run tests for a python study | pull_request |
| opensafely/test-study-r | Run tests for a R study | pull_request |
| Infrastructure Actions | Description | Stage |
----------------------------------------|-----------------------------------------------|---------------|
| opensafely/test-python | Run python unit tests | pull_request |
| opensafely/test-docker | Test we can successfully build a docker image | pull_request |
| opensafely/test-package | Test we can build a python package | pull_request |
| opensafely/test-semantic | Test commits are somantic | pull_request |
| opensafely/semantic-versioning | Tag master according to semantic PR rules | push |
| opensafely/publish-docker | Publish a docker image to registry | push |
| opensafely/publish-python | Publish a python package to PYPI | push |
More?
Typical usage: in the projects workflow file, they reference the appropriate
Issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment