Skip to content

Commit

Permalink
Update requirements.txt and GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Feb 1, 2023
1 parent b9537fd commit 9a9a79c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get history and tags for SCM versioning to work
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/run-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -29,11 +29,11 @@ jobs:
run: |
tox
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: .tox/*.xml
junit_files: .tox/*.xml
- name: Upload Coverage Results
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
if: success()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ python =
3: py311, lint
[testenv]
recreate = true
package = wheel
wheel_build_env = .pkg
deps =
Expand All @@ -122,6 +121,7 @@ commands =
pydoc-markdown
[testenv:publish]
package = sdist
pass_env = SSH_AUTH_SOCK, TWINE_USERNAME, TWINE_PASSWORD
deps =
twine
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
hdx-python-utilities==3.5.0
hdx-python-utilities==3.5.5
libhxl==4.27.3
pyphonetics==0.5.3
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -39,10 +38,10 @@ include_package_data = True
package_dir =
=src

python_requires = >=3.7
python_requires = >=3.8

install_requires =
hdx-python-utilities>=3.5.0
hdx-python-utilities>=3.5.5
libhxl>=4.27.3
pyphonetics

Expand Down
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==7.2.1
pytest-cov==4.0.0
tox==4.3.5
tox==4.4.4
-r requirements.txt

0 comments on commit 9a9a79c

Please sign in to comment.