Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update devdeps, fix CI #68

Merged
merged 5 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.x"
python-version: "3.12"
- name: 'Install Dependencies'
run: |
python -m pip install --upgrade pip
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.x]
python-version: [3.11, 3.12]

steps:
- uses: actions/checkout@v2
Expand All @@ -43,17 +43,17 @@ jobs:

- name: 'Run Tests (with coverage)'
run: |
coverage run --source=nessclient setup.py test
coverage run --source=nessclient -m pytest
- uses: codecov/codecov-action@v2
if: ${{ matrix.python-version == '3.x' }}
if: ${{ matrix.python-version == '3.12' }}

- name: "Build"
run: |
sed -i "s/0.0.0-dev/$(git describe --tags --exact-match)/" nessclient/__init__.py
python setup.py sdist bdist_wheel
- uses: actions/upload-artifact@v2
# Only publish artifacts from Python latest build.
if: ${{ matrix.python-version == '3.x' }}
if: ${{ matrix.python-version == '3.12' }}
with:
name: dist
path: dist/
Expand Down
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ flake8 = "*"
mypy = "*"
types-setuptools = "*"
black = "*"
pytest = "*"
pytest-asyncio = "*"

[requires]
python_version = "3.11"
Loading
Loading