Fix URLs #124
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install secrets | |
env: | |
CILOGON_CLIENT_SECRET: ${{ secrets.CILOGON_CLIENT_SECRET }} | |
run: python scripts/setup_ci_secrets.py | |
- name: Set up a postgres database | |
run: python scripts/create_db.py --with-docker | |
- name: Install dependencies | |
run: | | |
pip install pip --upgrade | |
pip install -r requirements.txt | |
- name: Run migrations | |
run: python scimma_admin/manage.py migrate --no-input | |
- name: Collect static files | |
run: python scimma_admin/manage.py collectstatic --no-input | |
- name: Run tests | |
run: | | |
cd scimma_admin | |
python manage.py test --no-input |