Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAl-Gburi committed Oct 31, 2023
1 parent 309ac19 commit 70997b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install twine
- name: Install requirements
run: >-
pip install twine
pip install -r requirements.txt
- name: Run tests
run: >-
pytest tests/*
- name: Build package
run: >-
python setup.py sdist
- name: Upload to pypi
run: >-
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ pyarrow==13.0.0
Pygments==2.16.1
PyJWT==2.8.0
pynvml==11.5.0
pyparsing==3.1.1
pyparsing==3.1.1
pytest
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# run the installation of our mlflow_emissions_sdk
setup(
name="mlflow_emissions_sdk",
version="0.16.2",
version="0.16.3",
packages=["mlflow_emissions_sdk"],
description="tracks carbon emissions and logs it to mlfow",
install_requires=requirements,
Expand Down

0 comments on commit 70997b7

Please sign in to comment.