Marcus Christie created AIRAVATA-3685:
-----------------------------------------
Summary: GitHub Action for testing installability of custom Django
app
Key: AIRAVATA-3685
URL: https://issues.apache.org/jira/browse/AIRAVATA-3685
Project: Airavata
Issue Type: Improvement
Components: Django Portal
Reporter: Marcus Christie
Create a GitHub Action that will create an instance of the Airavata Django
Portal and install a custom Django app into it. Make sure to also run `python
manage.py migrate` and probably `python manage.py check`.
Motivation: sometimes django app developers forget to declare their
dependencies in setup.cfg or their database migrations are broken, etc. There
are many ways in which a custom Django app could work for a developer on their
machine but be broken and not install into an Airavata Django Portal instance.
This GitHub Action would help provide early detection of such issues.
Essentially, run through the steps in the [custom Django app
README](https://github.com/machristie/cookiecutter-airavata-django-app/blob/master/%7B%7Bcookiecutter.project_slug%7D%7D/README.md),
except I don't think you would need to build the JS code when setting up the
Airavata Django Portal.
This GitHub Action could then be copied to existing active custom Django app
repos. It should also be added to the cookiecutter repo for all new custom
Django apps:
https://github.com/machristie/cookiecutter-airavata-django-app/blob/master/%7B%7Bcookiecutter.project_slug%7D%7D/README.md
--
This message was sent by Atlassian Jira
(v8.20.10#820010)