Skip to content

Commit

Permalink
Fixed testing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMcGrath committed May 7, 2024
1 parent 7363a97 commit b446293
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
--cov-report term-missing \
--cov-report xml:cov/coverage.xml \
--cov=tenable tests
- name: Test if the library is installable
run: |
pip install .
cd aux_tests && pytest test_installable.py
- name: Save Coverage Report
uses: actions/upload-artifact@v2
with:
Expand All @@ -48,7 +44,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"
- name: Setup environment
run: |
python -m pip install -U pip
Expand All @@ -59,12 +55,12 @@ jobs:
flake8-plugin-utils
- name: Run flake8
run: |
flake8 tenable \
flake8 tenb2jira \
--count \
--select=E9,F63,F7,F82 \
--show-source \
--statistics
flake8 tenable \
flake8 tenb2jira \
--count \
--exit-zero \
--max-complexity=12 \
Expand Down

0 comments on commit b446293

Please sign in to comment.