Skip to content

templates: moved t&c copy into terms.html #903

templates: moved t&c copy into terms.html

templates: moved t&c copy into terms.html #903

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-24.04
env:
DATA_SUBMISSION_ENABLED: "true"
REGISTRY_PUBLISHERS_URL: ${{secrets.REGISTRY_PUBLISHERS_URL}}
REGISTRY_PUBLISHERS_USER: ${{secrets.REGISTRY_PUBLISHERS_USER}}
REGISTRY_PUBLISHERS_PASS: ${{secrets.REGISTRY_PUBLISHERS_PASS}}
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
# Python 3.12 is used by the live
python-version: 3.12
architecture: x64
- name: Install requirements_cove_dev.txt
run: pip install -r requirements_cove_dev.txt
- name: Install Ubuntu Translation Libraries
run: sudo apt install gettext
- name: Test 360
run: cd cove; DJANGO_SETTINGS_MODULE=cove_project.settings_test coverage run -m pytest -vv -n 2
- name: Migrate Database
run: DJANGO_SETTINGS_MODULE=cove_project.settings_test python ./cove/manage.py migrate
- name: Compile Messages
run: DJANGO_SETTINGS_MODULE=cove_project.settings_test python ./cove/manage.py compilemessages
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd cove; coveralls --service=github