Skip to content

Commit

Permalink
skip cqa for now
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Sep 17, 2023
1 parent 7cc7f37 commit 8033f3d
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,42 @@ on:
push:

jobs:
cqa:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: '**/setup.cfg'

- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install --use-deprecated=legacy-resolver -e .[dev]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Format check with isort
run: |
isort --check src
- name: Format check with black
run: |
black --check src
- name: Security check with bandit
run: |
bandit -ll -r src
# cqa:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3

# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.10"
# cache: pip
# cache-dependency-path: '**/setup.cfg'

# - name: Install test dependencies
# run: |
# python -m pip install --upgrade pip
# pip install --use-deprecated=legacy-resolver -e .[dev]

# - name: Lint with flake8
# run: |
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

# - name: Format check with isort
# run: |
# isort --check src

# - name: Format check with black
# run: |
# black --check src

# - name: Security check with bandit
# run: |
# bandit -ll -r src

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
deploy:
needs:
- cqa
# - cqa
- test
runs-on: ubuntu-latest

Expand Down

0 comments on commit 8033f3d

Please sign in to comment.