Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfootjon committed Mar 6, 2024
1 parent a6625a7 commit 075447f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Package
run: python3 setup.py sdist bdist_wheel
run: python -m build
- name: Install package
run: pip install --editable .
- name: Run Tests
run: |
PYTHONPATH=$PYTHONPATH:`pwd` coverage run -m unittest --verbose
coverage run -m unittest --verbose
# coveralls
- name: Check Types - Pyre
run: pyre check
Expand All @@ -51,7 +53,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.1112
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -64,4 +66,4 @@ jobs:
env:
TWINE_USERNAME: bigfootjon
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: python3 publish.py
run: python publish.py
2 changes: 1 addition & 1 deletion publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+ '"'
)
os.system("git push --tags")
os.system("python3 setup.py sdist bdist_wheel")
os.system("python3 -m build")
os.system("python3 -m twine upload dist/*")
else:
print("There is already a tag for version " + keyedarchivelib.VERSION)
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ flake8==7.0.0
black==24.2.0
coverage==7.4.3
python-coveralls==2.9.3
build==1.1.1

0 comments on commit 075447f

Please sign in to comment.