-
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
0e4d637
commit 332e77b
Showing
11 changed files
with
50 additions
and
43 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,45 +1,45 @@ | ||
name: PyTest Unit Test | ||
# name: PyTest Unit Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
- staging | ||
- main | ||
paths-ignore: | ||
- version | ||
pull_request: | ||
branches: | ||
- dev | ||
- staging | ||
- main | ||
paths-ignore: | ||
- version | ||
# on: | ||
# push: | ||
# branches: | ||
# - dev | ||
# - staging | ||
# - main | ||
# paths-ignore: | ||
# - version | ||
# pull_request: | ||
# branches: | ||
# - dev | ||
# - staging | ||
# - main | ||
# paths-ignore: | ||
# - version | ||
|
||
jobs: | ||
test: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.9"] | ||
# jobs: | ||
# test: | ||
# name: Unit Tests | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# python-version: ["3.9"] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Dependencies | ||
run: | | ||
git config --global url."https://${{ secrets.BOT_OSENSA_TOKEN }}@github".insteadOf ssh://git@github | ||
python -m pip install --upgrade pip | ||
python -m venv venv_test | ||
source venv_test/bin/activate | ||
python -m pip install -r requirements_test.txt | ||
- name: Test with pytest | ||
run: | | ||
source venv_test/bin/activate | ||
pytest ./tests/unit -vvs | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v3 | ||
# - name: Set up Python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v3 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# - name: Install Dependencies | ||
# run: | | ||
# git config --global url."https://${{ secrets.BOT_OSENSA_TOKEN }}@github".insteadOf ssh://git@github | ||
# python -m pip install --upgrade pip | ||
# python -m venv venv_test | ||
# source venv_test/bin/activate | ||
# python -m pip install -r requirements_test.txt | ||
# - name: Test with pytest | ||
# run: | | ||
# source venv_test/bin/activate | ||
# pytest ./tests/unit -vvs |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[MASTER] | ||
ignore-patterns=.*pb2.py | ||
|
||
[MESSAGES CONTROL] | ||
disable=fixme |
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,3 +1,5 @@ | ||
'''Client RPC Channel implementation''' | ||
|
||
import logging | ||
from google.protobuf import service | ||
import zmq | ||
|
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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,6 +1,6 @@ | ||
[metadata] | ||
name = edgepi-rpc-client | ||
version = 0.0.1 | ||
version = 0.0.2 | ||
author = Josiah Kievit, Isaac James | ||
author_email = [email protected], [email protected] | ||
description = Client for EdgePi RPC Server | ||
|