Skip to content

Add new public APIs for header and command output #35

Add new public APIs for header and command output

Add new public APIs for header and command output #35

Workflow file for this run

name: Test pywinrm
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- 3.8
- 3.9
- '3.10'
- '3.11'
- '3.12'
- pypy-3.9
- pypy-3.10
arch:
- x86
- x64
exclude:
- os: macos-latest
arch: x86
- os: macos-latest
python-version: 3.8
- os: macos-latest
python-version: 3.9
- os: macos-latest
python-version: '3.10'
- os: macos-latest
python-version: pypy-3.9
- os: macos-latest
python-version: pypy-3.10
- os: ubuntu-latest
arch: x86
- os: windows-latest
python-version: pypy-3.9
- os: windows-latest
python-version: pypy-3.10
steps:
- uses: actions/checkout@v4
- name: set up python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.arch }}
- name: set up Linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: >-
sudo apt-get install -y
gcc
python3-dev
libkrb5-dev
env:
DEBIAN_FRONTEND: noninteractive
- name: install dependencies
run: |
pip install coveralls
pip install .[credssp,kerberos]
pip install -r requirements-test.txt
- name: run test
run: |
python -m black . --check
python -m isort . --check-only
python -m mypy .
pytest -v --cov=winrm --cov-report=term-missing winrm/tests/
- name: upload coverage data
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}