Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
VigneshVSV committed Jul 20, 2024
1 parent 9da5c30 commit 67b262a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 30 deletions.
57 changes: 30 additions & 27 deletions .github/workflows/test.yml
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 }}


6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 67b262a

Please sign in to comment.