Skip to content

Commit

Permalink
WIP, awaiting test backports
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Lefaudeux committed Oct 2, 2024
1 parent 1fc32e7 commit dc61537
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/gopy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,19 @@ jobs:
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/go-python/gopy@latest
- name: Build
- name: Build python module
run: |
cd src/pkg/client
gopy pkg -author="Photoroom" -email="[email protected]" -url="" -name="datago" -version="0.99" .
ls datago/*
- name: Install python module
run: |
python3 -m pip install -e .
python3 -c "import datago"
- name: Run the python unit tests
run: |
cd ../../..
pip install -r requirements.txt
pytest -xv python_tests/*
1 change: 1 addition & 0 deletions python_tests/datago_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from datago import datago
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest

0 comments on commit dc61537

Please sign in to comment.