Skip to content

Commit

Permalink
Add black and bandit checks
Browse files Browse the repository at this point in the history
This ensures the code adheres to certain standards.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
  • Loading branch information
puiterwijk committed Jul 22, 2021
1 parent c20867d commit cd06ae7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -5,6 +5,23 @@ on:
name: Continuous integration

jobs:
static_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install tools
run: |
pip install black bandit
- name: Run black check
run: |
black --check .
- name: Run bandit check
run: |
bandit -ll -r .
tests_fedora:
runs-on: ubuntu-latest
container: fedora:latest
Expand Down

0 comments on commit cd06ae7

Please sign in to comment.