File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 52
52
GOOGLE_API_KEY : " ${{ secrets.GOOGLE_API_KEY }}"
53
53
GOOGLE_CSE_ID : " ${{ secrets.GOOGLE_CSE_ID }}"
54
54
run : |
55
- poetry run pytest -s -m mock_llm test/
55
+ poetry run coverage run -m pytest -s -m mock_llm
56
+
57
+ - name : Coveralls
58
+ uses : coverallsapp/github-action@v2
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ https://packaging.python.org/en/latest/tutorials/packaging-projects/
66
66
poetry config pypi-token.pypi " <your-token>"
67
67
poetry config repositories.test-pypi https://test.pypi.org/legacy/
68
68
poetry config pypi-token.test-pypi " <your-token>"
69
+
70
+ poetry version prerelease
71
+ poetry build
69
72
poetry publish -r test-pypi
70
73
poetry publish
71
74
Original file line number Diff line number Diff line change @@ -70,8 +70,9 @@ pytest = "^8.0.2"
70
70
setuptools = " ^69.1.1"
71
71
pytest-asyncio = " ^0.23.5"
72
72
build = " ^1.1.1"
73
- coverage = " ^7.4.3 "
73
+ coverage = " ^6 "
74
74
tensorboard = " ^2.16.2"
75
75
twine = " ^5.0.0"
76
76
poetry-core = " ^1.9.0"
77
77
poetry = " ^1.8.2"
78
+ coveralls = " ^3.3.1"
You can’t perform that action at this time.
0 commit comments