Skip to content

[notebooks] link to no-user-prompt version of fshtool v1.22 #84

[notebooks] link to no-user-prompt version of fshtool v1.22

[notebooks] link to no-user-prompt version of fshtool v1.22 #84

Workflow file for this run

name: windows
on:
workflow_dispatch:
push:
branches:
pull_request:
branches:
jobs:
python:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
python-version: [ "3.8", "3.11" ]
name: Python ${{ matrix.python-version }} (${{ matrix.os }})
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# - name: "Add requirements"
# run: |
# python -c "import sys; print(sys.version)"
# python -m pip install --upgrade pip setuptools wheel pybind11
- name: "pip install"
run: |
python -m pip install --verbose .
- name: "Print fcecodec.__version__, help"
shell: bash
run: |
echo "import fcecodec; print(f'fcecodec.__version__={fcecodec.__version__}')" > _version.py; cat _version.py
python -c "import subprocess; import sys; retcode = subprocess.call([ sys.executable, '_version.py' ]); print('Exit code', retcode); sys.exit(0)"
python -c "import fcecodec; help(fcecodec)"
- name: "Install numpy pytest wurlitzer"
shell: bash
run: |
python -m pip install numpy
python -m pip install pytest
python -m pip install wurlitzer
- name: "pytest"
shell: bash
run: |
cmp --help
cksum
pytest -s -vv