blob: 39fadef7f5f12c1c9b28331c9a12c6f2d7053d5f [file] [log] [blame]
language: python
dist: focal
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
# - "3.11"
install:
- nvm install
- nvm use
- pip install --upgrade pip setuptools wheel
- pip install -r requirements-dev.txt
script:
- cp django_airavata/settings_local.py.sample django_airavata/settings_local.py
- python manage.py migrate
- python manage.py check
- flake8 .
- ./lint_js.sh
- ./build_js.sh
- ./test_js.sh
# Need to build the frontend client before running some of the Django tests
# that use the Django test Client
- ./runtests.py