Skip to content

GitHub Actions

Théo DURR edited this page Aug 27, 2022 · 3 revisions

Continuous Integration (Unit tests)

The workflow unittests.yml run unit tests and linting test using black.

ℹ️ This script ensures at least one python file has changed since the last commit. On pull requests, it scans the diff between the last commit on destination branch. So if your last commit does not change a python file, but the 2 last does, then the job will run unit tests.

Deployment

This action deploys the code to the production server each time a merge is made into the master branch. The deployment job connects to the machine with ssh and run the prod.sh script, located in the Sith repository.

Then, it triggers the sentry job which will create a new release on sentry and help us tracking issues depending on the release. The release hash is the hash of the last commit to master. This job only run if the deployment job has succeed.

image

Clone this wiki locally