Skip to content
Snippets Groups Projects
Verified Commit c8bdfa21 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Clean up root

parent 72834345
No related branches found
No related tags found
No related merge requests found
name: "CodeQL"
on:
push:
branches: [develop, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '0 9 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- export DJANGO_SETTINGS_MODULE=celery_haystack.test_settings
install:
- pip install -e .
- pip install -r requirements/v2.txt $DJANGO
before_script:
- flake8 celery_haystack --ignore=E501,E731
script:
- coverage run --branch --source=celery_haystack `which django-admin.py` test celery_haystack
- coverage report --omit=celery_haystack/test*
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="Django>=1.11,<1.12"
notifications:
irc: "irc.freenode.org#haystack"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment