Skip to content

Commit

Permalink
CI: rip off DeepSource and add CodeQL analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshCasper committed Aug 12, 2021
1 parent bc0cb4b commit e7ee21d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .deepsource.toml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "CodeQL Analysis - Python"

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
CodeQL-Build:

strategy:
fail-fast: false
matrix:
language: ['python']

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: python
setup-python-dependencies: false

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ docker run app:webedge

The Python Files have been linted using [flake8](https://flake8.pycqa.org/) which automatically suggests linting errors and issues with formatting and styling. You can run the `flake8` command with the given configuration in the Project πŸ€

We are also making use of DeepSource Analysis, which can be viewed [here](http://deepsource.io/gh/HarshCasper/webEdge). This allows us to identify potential bugs and anti-patterns with each push to the repository, and potentially fix it πŸ›
We are also making use of CodeQL Analysis, which can be viewed [here](.github/workflows/codeql-analysis.yml). This allows us to identify potential bugs and anti-patterns with each push to the repository, and potentially fix it πŸ›

For setting up CI/CD, we are making use of [GitHub Actions](https://github.com/features/actions). With a simple configuration set-up, we were able to test each build for specific issues, which can be viewed [here](.github/workflows/ci.yml) 🌱

Expand Down

0 comments on commit e7ee21d

Please sign in to comment.