If the file is runnable or not is checked, here is an example of preview here.
Whikst a successful workflow checks will be like this
Linting issues will be checked:
For unused variables, error, etc.
The linting is done using flake8 and black
Basic django check will be performed
python3 manage.py check
For anything that may break the server from ever starting
like missing symbols import
basic indentation error, etc
For every commit to push to main
The container image will be created and pushed to github container repository(GHCR)
@utsavdotdev we will need to use organization or your's github personal access token (classic) with following permissions
read:packages
write:packages
delete:packages
after you get this done, you will need to put this in this repository's github actions secret as CR_PAT. This is needed to push the repository to GCHR server.
Added support for workflow(s)
I have added two workflow(s) for this repsitory
For every pull request,
If the file is runnable or not is checked, here is an example of preview here.
Whikst a successful workflow checks will be like this
Linting issues will be checked: For unused variables, error, etc. The linting is done using flake8 and black
Basic django check will be performed
For anything that may break the server from ever starting
For every commit to push to main
The container image will be created and pushed to github container repository(GHCR) @utsavdotdev we will need to use organization or your's github
personal access token (classic)
with following permissionsafter you get this done, you will need to put this in this repository's github actions secret as
CR_PAT
. This is needed to push the repository to GCHR server.