[fcelib] bump to version 1.5 #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |