Skip to content

Commit

Permalink
wip: rip out some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-pie committed Aug 23, 2024
1 parent 03fbf80 commit a03c158
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@ jobs:
- name: Check code formatting
if: steps.check.outcome == 'failure'
run: |
. dev-project/.virtualenvs/pipelinewise/bin/activate
. .virtualenvs/pipelinewise/bin/activate
find pipelinewise tests -type f -name '*.py' | xargs unify --check-only
- name: Pylinting
if: steps.check.outcome == 'failure'
run: |
. dev-project/.virtualenvs/pipelinewise/bin/activate
. .virtualenvs/pipelinewise/bin/activate
pylint pipelinewise tests
- name: Pep8
if: steps.check.outcome == 'failure'
run: |
. dev-project/.virtualenvs/pipelinewise/bin/activate
. .virtualenvs/pipelinewise/bin/activate
flake8 pipelinewise --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Pep8 complexity
if: steps.check.outcome == 'failure'
run: |
. dev-project/.virtualenvs/pipelinewise/bin/activate
. .virtualenvs/pipelinewise/bin/activate
flake8 pipelinewise --count --max-complexity=15 --max-line-length=120 --statistics
- name: Run Unit tests
if: steps.check.outcome == 'failure'
run: |
. dev-project/.virtualenvs/pipelinewise/bin/activate
. .virtualenvs/pipelinewise/bin/activate
pytest --cov=pipelinewise --cov-fail-under=77 -v tests/units
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ BLUE = \x1b[36m
RED = \x1b[31m
RESET_COLOR = \x1b[0m
PIPELINEWISE_HOME = "${PIPELINEWISE_HOME:$(shell pwd)}"
PIPELINEWISE_HOME = $(shell pwd)
VENV_DIR = ${PIPELINEWISE_HOME}/.virtualenvs

start_time:=$(shell date +%s)
Expand Down

0 comments on commit a03c158

Please sign in to comment.