-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9da5c30
commit 67b262a
Showing
2 changed files
with
33 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,40 @@ | ||
name: Python Unit Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Install dependencies | ||
run: pip install -r tests/requirements.txt | ||
|
||
- name: Install dependencies | ||
run: pip install -r tests/requirements.txt | ||
- name: Run unit tests and generate coverage report | ||
run: | | ||
pip install coverage | ||
coverage run -m unittest discover -s tests -p 'test_*.py' | ||
coverage report -m | ||
- name: Run unit tests and generate coverage report | ||
run: | | ||
pip install coverage | ||
coverage run -m unittest discover -s tests -p 'test_*.py' | ||
coverage report -m | ||
- name: Upload coverage report to codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
- name: Upload coverage report to codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,8 @@ | |
|
||
setuptools.setup( | ||
name="hololinked", | ||
version="0.1.2", | ||
author="Vignesh Vaidyanathan", | ||
version="0.2.0", | ||
author="Vigneh Vaidyanathan", | ||
author_email="[email protected]", | ||
description="A ZMQ-based Object Oriented RPC tool-kit with HTTP support for instrument control/data acquisition or controlling generic python objects.", | ||
long_description=long_description, | ||
|
@@ -40,7 +40,7 @@ | |
], | ||
python_requires='>=3.7', | ||
install_requires=[ | ||
"argon2-cffi>=0.1.10", | ||
"argon2-cffi>=23.0.0", | ||
"ifaddr>=0.2.0", | ||
"msgspec>=0.18.6", | ||
"pyzmq>=25.1.0", | ||
|