Skip to content

[libnfsviv] misc improvements, documentation; [Python] finishing new … #68

[libnfsviv] misc improvements, documentation; [Python] finishing new …

[libnfsviv] misc improvements, documentation; [Python] finishing new … #68

Workflow file for this run

name: ci-python
env:
UVTVERBOSE: 1
on:
push:
branches:
pull_request:
branches:
jobs:
python:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
python-version: [ "3.10", "3.11", "3.12" ]
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: "pip install"
shell: bash
run: |
export UVTVERBOSE=${{ env.UVTVERBOSE }}
export PYMEM_MALLOC=""
python -m pip install --verbose .
- name: "Print unvivtool.__version__, help"
shell: bash
run: |
echo "import unvivtool; print(f'unvivtool.__version__={unvivtool.__version__}')" > print_version.py; cat print_version.py
python -c "import subprocess; import sys; ret = subprocess.run([ sys.executable, 'print_version.py' ]); print('Exit code', ret.returncode); sys.exit(0)"
python -c "import unvivtool; help(unvivtool)"
- name: "pytest"
shell: bash
run: |
python -m pip install -q pytest
pytest -s -vv ./tests/test_smoketest.py
pytest -s -vv ./tests/test_decodeencode.py