Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3685

GitHub Action for testing installability of custom Django app

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Django Portal
    • None
    • Easy

    Description

      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, 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: