diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c84c3b8..20cc40f 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -24,6 +24,7 @@ name: tests env: APP_NAME: uw_hrp + COVERAGE_PYTHON_VERSION: '3.10' on: push: @@ -37,7 +38,7 @@ on: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout Repo @@ -46,13 +47,13 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Install Dependencies run: | python -m pip install --upgrade pip pip install -e . - pip install commonconf nose2 coverage coveralls==2.2.0 + pip install commonconf nose2 coverage coveralls==3.3.1 - name: Run Python Linters uses: uw-it-aca/actions/python-linters@main @@ -62,7 +63,7 @@ jobs: - name: Run Tests run: | python -m compileall ${APP_NAME}/ - coverage run ${APP_NAME}/test.py -v + python -Wd -m coverage run ${APP_NAME}/test.py -v - name: Report Test Coverage env: @@ -75,7 +76,7 @@ jobs: needs: test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout Repo @@ -84,7 +85,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: '3.10' - name: Publish to PyPi uses: uw-it-aca/actions/publish-pypi@main diff --git a/README.md b/README.md index a5da8d4..3dd4e69 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Build Status](https://github.com/uw-it-aca/uw-restclients-hrp/workflows/tests/badge.svg?branch=main)](https://github.com/uw-it-aca/uw-restclients-hrp/actions) [![Coverage Status](https://coveralls.io/repos/uw-it-aca/uw-restclients-hrp/badge.svg?branch=main)](https://coveralls.io/r/uw-it-aca/uw-restclients-hrp?branch=main) [![PyPi Version](https://img.shields.io/pypi/v/uw-restclients-hrp.svg)](https://pypi.python.org/pypi/uw-restclients-hrp) -![Python versions](https://img.shields.io/pypi/pyversions/uw-restclients-hrp.svg) +![Python versions](https://img.shields.io/badge/python-3.10-blue.svg) Installation: diff --git a/setup.py b/setup.py index 35f3341..62b305e 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ name='UW-RestClients-HRP', version=VERSION, packages=['uw_hrp'], - author="UW-IT AXDD", + author="UW-IT T&LS", author_email="aca-it@uw.edu", include_package_data=True, install_requires=[ @@ -36,6 +36,5 @@ 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.8', ], )