Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -30,6 +30,10 @@ jobs:
pip install tox tox-gh-actions
- name: Run tox
run: tox
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false

wheels:
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
Expand All @@ -40,7 +44,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [cp36, cp37, cp38, cp39]
python: [cp36, cp37, cp38, cp39, cp310]
arch: [x86_64, amd64, 32]
exclude:
- os: macos-latest
Expand Down
5 changes: 2 additions & 3 deletions efel/tests/test_allfeatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

import nose.tools as nt
import os

# pylint: disable=R0914
Expand Down Expand Up @@ -172,7 +171,7 @@ def test_allfeatures():
expected_results = json.load(expected_json)

import numpy
nt.assert_equal(set(feature_values.keys()), set(expected_results.keys()))
assert set(feature_values.keys()) == set(expected_results.keys())
failed_feature = False
for feature_name, feature_value in feature_values.items():
expected_value = expected_results[feature_name]
Expand All @@ -191,4 +190,4 @@ def test_allfeatures():
(feature_name, feature_value, expected_value))
failed_feature = True

nt.assert_true(failed_feature is False)
assert not failed_feature
Loading