-
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
Benjamin Lefaudeux
committed
Oct 2, 2024
1 parent
1fc32e7
commit dc61537
Showing
3 changed files
with
14 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -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/* |
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 @@ | ||
from datago import datago |
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 @@ | ||
pytest |