0.7.10 #83
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: Certego Django CI | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
# discard previous execution if you commit to a branch that is already running | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
detect-changes: | |
uses: certego/.github/.github/workflows/[email protected] | |
with: | |
backend_directories: certego_saas tests example_project | |
python_tests: | |
if: ${{ needs.detect-changes.outputs.backend > 0 }} | |
needs: detect-changes | |
uses: certego/.github/.github/workflows/[email protected] | |
with: | |
working_directory: . | |
use_black: true | |
use_isort: true | |
use_flake8: true | |
use_pylint: false | |
use_bandit: false | |
requirements_path: requirements/requirements.txt | |
django_settings_module: example_project.settings | |
check_migrations: true | |
check_requirements_licenses: false | |
use_coverage: true | |
upload_coverage: true | |
python_versions: >- | |
[ "3.8", "3.9", "3.10"] | |
env: >- | |
{ | |
"DEBUG":"True", | |
} | |
secrets: inherit | |