Skip to content

added test for need-answer-count #1099

added test for need-answer-count

added test for need-answer-count #1099

Workflow file for this run

name: Testing
on: [push]
env:
DATABASE_URL: "sqlite:///gig-o-matic.sqlite"
CAPTCHA_ENABLE: False
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: "3.12"
- name: Install dependencies
id: pip
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with Django
run: |
python manage.py collectstatic
python manage.py test
- name: Check with Pylint
if: ${{ always() && steps.pip.outcome == 'Success' }}
run: modules=(*/__init__.py) && pylint -j0 --load-plugins=pylint_django --django-settings-module=go3.settings ${modules[@]%/*}