Full compatibility tests #167
This file contains hidden or 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: Full compatibility tests | |
| on: | |
| schedule: | |
| # run daily | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| test-pypi: | |
| name: Test pynitrokey from PyPI | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| # additional build dependencies on Linux with Python 3.13, see https://github.com/Nitrokey/pynitrokey/issues/610 | |
| - name: Install dependencies | |
| if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' }} | |
| run: sudo apt-get update && sudo apt-get install -y gcc libudev-dev | |
| - name: Install pynitrokey | |
| run: pip install pynitrokey | |
| - name: Run nitropy --help | |
| run: nitropy --help |