Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdakran committed Jan 27, 2022
1 parent 4acedd0 commit 48baa34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ['3.6', '3.7']
python: ['3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: python -mpip install --upgrade setuptools pip tox virtualenv
- run: python -m pip install --upgrade setuptools pip tox virtualenv
- run: tox -e py
- run: tox -e mypy
4 changes: 3 additions & 1 deletion tests/audit/report_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import random
import string
import tempfile
Expand Down Expand Up @@ -151,6 +152,7 @@ def test_generate_report(
assert item[key] == expected[key]
found = True
assert found
os.unlink(baseline_file)


def count_results(data):
Expand Down Expand Up @@ -187,7 +189,7 @@ def baseline_file():

with create_file_with_content(first_content) as first_file, \
create_file_with_content(second_content) as second_file, \
tempfile.NamedTemporaryFile() as baseline_file, \
tempfile.NamedTemporaryFile(delete=False) as baseline_file, \
transient_settings({
'plugins_used': [
{'name': 'BasicAuthDetector'},
Expand Down

0 comments on commit 48baa34

Please sign in to comment.