-
Notifications
You must be signed in to change notification settings - Fork 4
GitHub Actions
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.
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.