Skip to content

Commit

Permalink
Reenable testing
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstraka committed Sep 5, 2023
1 parent 2f54be7 commit 7bb68e3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
run: pip install -r requirements.txt
- name: Analyzing the code with pylint
run: pylint pyOxygenSCPI
#- name: Running unit tests with pytest - TODO: has problems with __init__.py file
# run: pytest ..
- name: Installing the package
run: python3 setup.py install
- name: Running unit tests with pytest
run: pytest
2 changes: 1 addition & 1 deletion pyOxygenSCPI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Python module to remote control Dewetron Oxygen via SCPI
"""
__copyright__ = "Copyright 2021 DEWETRON GmbH"
__version__ = '0.0.1'
__version__ = '0.1.0'

from .oxygenscpi import OxygenSCPI
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest
pylint

setuptools
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="pyOxygenSCPI",
version="0.0.1",
version="0.1.0",
author="Matthias Straka",
author_email="[email protected]",
description="Python library for remote controlling Dewetron Oxygen via the SCPI interface",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pyOxygenSCPI - Unit Tests
"""
import pytest

from pyOxygenSCPI import OxygenSCPI

def test_construction():
Expand Down

0 comments on commit 7bb68e3

Please sign in to comment.