diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-15 12:12:11 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-15 12:12:11 +0100 |
| commit | 9050c94bf9af7e90056217e9b1eb85f993ad5886 (patch) | |
| tree | 6d1fc7392535f14682448ca806961f2dd74b8ad9 /.github/workflows/python.yml | |
| parent | 5fecc3060f0565af004368cd0856df848ca0127a (diff) | |
| download | de-project-bentley-9050c94bf9af7e90056217e9b1eb85f993ad5886.tar.gz de-project-bentley-9050c94bf9af7e90056217e9b1eb85f993ad5886.zip | |
chore(ci): remove abandoned yml configs
Diffstat (limited to '.github/workflows/python.yml')
| -rw-r--r-- | .github/workflows/python.yml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml deleted file mode 100644 index 7d5b5b1..0000000 --- a/.github/workflows/python.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: python-quality-checks - -on: - push: - branches: [development] - pull_request: - branches: [development, staging] - -jobs: - - check-if-py-files-exist: - runs-on: ubuntu-latest - outputs: - py_files_exist: ${{ steps.check.outputs.py_files_exist }} - steps: - - uses: actions/checkout@v2 - - id: check_files - run: | - if [ -n "$(find . -name '*.py')" ]; then - echo "::set-output name=py_files_exist::true" - else - echo "::set-output name=py_files_exist::false" - fi - - quality-checks: - needs: check-if-py-files-exist - if: ${{ needs.check-if-py-files-exist.outputs.py_files_exist == 'true' }} - runs-on: ubuntu-latest - steps: - - uses : actions/checkout@v2 - - name : Setup - uses : actions/setup-python@v2 - with: - python-version: 3.11 - - name : Dependencies - run: | - python -m pip install --upgrade pip - pip install flake8 pylint black bandit safety - - name : Linting - run: | - flake8 . - find . -name "*.py" | xargs pylint - - name : Formatting - run: | - black --check . - - name: Security - run: | - bandit -r . - safety check -
\ No newline at end of file |
