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
13 changes: 12 additions & 1 deletion .github/workflows/build_upload_whl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
cd ${{ inputs.SOURCE_PATH }}
../whl_creation/bin/python -m build --wheel --outdir ../whl_creation/dist
ls -l ../whl_creation/dist
rm -rf *.egg-info

- name: Determine if unit and functional tests should run
id: test_check
Expand Down Expand Up @@ -163,6 +164,16 @@ jobs:
source test_env/bin/activate
mfd-unit-tests --project-dir ${{ github.workspace }}/${{ inputs.SOURCE_PATH }}

- name: Run unit tests with coverage if test directory exists
if: steps.test_check.outputs.run_unit_tests == 'true'
shell: bash
run: |
source test_env/bin/activate
mfd-unit-tests-with-coverage --project-dir ${{ github.workspace }}/${{ inputs.SOURCE_PATH }}

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b #v2.3.6

- name: Run functional tests if test directory exists
if: steps.test_check.outputs.run_functional_tests == 'true'
shell: bash
Expand Down Expand Up @@ -202,4 +213,4 @@ jobs:
version_after_bump: ${{ steps.VERSION_BUMP.outputs.version_after_bump }}
run: |
cd ${{ inputs.SOURCE_PATH }}
git push origin "${version_after_bump}"
git push origin "${version_after_bump}"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# MFD Connect
**Module for running commands on remote machine.**

[![Coverage Status](https://coveralls.io/repos/github/intel/mfd-connect/badge.svg)](https://coveralls.io/github/intel/mfd-connect)
## Usage
```python
from mfd_connect import LocalConnection
Expand Down Expand Up @@ -1112,4 +1113,4 @@ If code cannot establish connection, it will start deployment of python using [D

## Issue reporting

If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue [here](https://github.com/intel/mfd-connect/issues).
If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue [here](https://github.com/intel/mfd-connect/issues).
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r requirements-test.txt # Ensure tests dependencies are automatically included
pydantic
mfd-code-quality >= 1.2.0, < 2
mfd-code-quality @ git+https://github.com/intel/mfd-code-quality.git@coverage-debug