Merge pull request #551 from Gig-o-Matic/fix_name_special_characters_… #1158
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: 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[@]%/*} |