Skip to content
Merged
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
20 changes: 13 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ jobs:
gitHubActionForPytest:
name: Run PyTest on Push
runs-on: ubuntu-latest
steps:
- name: Install Python3-dev
run: sudo apt-get update && sudo apt-get install -y python3-dev
- uses: actions/checkout@master
- name: GitHub action for pytest
uses: cclauss/GitHub-Action-for-pytest@master
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
args: python setup.py --verbose develop && pytest -sv
python-version: '3.8'
- name: Install dependencies
run: |
python3 -m pip install setuptools
python3 setup.py --verbose develop
- name: Test with pytest
run: |
pip install pytest
pytest -sv
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
'pywin32 >= 1.0 ; platform_system=="Windows"'],
extras_require={
'tests': ['pytest']
}
},
py_modules=["nmea", "logs", "common", "seatalk"]
)