Skip to content

Merge pull request #516 from Gig-o-Matic/need_plan_badge #1102

Merge pull request #516 from Gig-o-Matic/need_plan_badge

Merge pull request #516 from Gig-o-Matic/need_plan_badge #1102

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[@]%/*}