Skip to content

Commit 924de2d

Browse files
authored
Pipeline fix (#10)
* Fix for pipeline push
1 parent 91b6a39 commit 924de2d

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ jobs:
44
gitHubActionForPytest:
55
name: Run PyTest on Push
66
runs-on: ubuntu-latest
7-
steps:
8-
- name: Install Python3-dev
9-
run: sudo apt-get update && sudo apt-get install -y python3-dev
10-
- uses: actions/checkout@master
11-
- name: GitHub action for pytest
12-
uses: cclauss/GitHub-Action-for-pytest@master
7+
steps:
8+
- uses: actions/checkout@v4
9+
- name: Set up Python
10+
uses: actions/setup-python@v5
1311
with:
14-
args: python setup.py --verbose develop && pytest -sv
12+
python-version: '3.8'
13+
- name: Install dependencies
14+
run: |
15+
python3 -m pip install setuptools
16+
python3 setup.py --verbose develop
17+
- name: Test with pytest
18+
run: |
19+
pip install pytest
20+
pytest -sv

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
'pywin32 >= 1.0 ; platform_system=="Windows"'],
1414
extras_require={
1515
'tests': ['pytest']
16-
}
16+
},
17+
py_modules=["nmea", "logs", "common", "seatalk"]
1718
)

0 commit comments

Comments
 (0)