Skip to content

Commit

Permalink
[feat] upgrade tests (#471)
Browse files Browse the repository at this point in the history
* [feat] upgrade tests

* update nose

* add namespace flag
  • Loading branch information
itsvs authored Apr 6, 2022
1 parent f210de5 commit f583449
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ jobs:
fail-fast: false
matrix:
name: [
Python 3.9 (Windows),
Python 3.9 (Macintosh),
Python 3.9 (Ubuntu),
Python 3.8 (Windows),
Python 3.8 (Macintosh),
Python 3.8 (Ubuntu),
Python 3.7 (Windows),
Python 3.7 (Macintosh),
Python 3.7 (Ubuntu),
Python 3.6 (Windows),
Python 3.6 (Macintosh),
Python 3.6 (Ubuntu),
]
include:
- name: Python 3.9 (Windows)
os: windows-latest
python-version: 3.9
- name: Python 3.9 (Macintosh)
os: macOS-10.15
python-version: 3.9
- name: Python 3.9 (Ubuntu)
os: ubuntu-latest
python-version: 3.9
- name: Python 3.8 (Windows)
os: windows-latest
python-version: 3.8
Expand All @@ -39,15 +48,6 @@ jobs:
- name: Python 3.7 (Ubuntu)
os: ubuntu-latest
python-version: 3.7
- name: Python 3.6 (Windows)
os: windows-latest
python-version: 3.6
- name: Python 3.6 (Macintosh)
os: macOS-10.15
python-version: 3.6
- name: Python 3.6 (Ubuntu)
os: ubuntu-latest
python-version: 3.6
env:
VENV_DIR: env
steps:
Expand Down Expand Up @@ -102,4 +102,4 @@ jobs:
esac
. "${VENV_DIR}/${scripts}/activate"
echo "Using $(python --version) on ${{ matrix.os }}" 1>&2
nosetests --with-coverage tests
nosetests --traverse-namespace --with-coverage tests
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ filelock==3.0.12
lark==0.12.0

# Tests
nose==1.3.3
nose==1.3.7
pylint==1.2.1
mock==1.0.1
virtualenv==16.7.9

0 comments on commit f583449

Please sign in to comment.