Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CI coverage #612

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,30 @@ jobs:
run: |
. venv/bin/activate
make check-typing
run:
name: Run nitropy --help
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install required packages
run: |
sudo apt update
sudo apt install -y gcc libpcsclite-dev swig
# For Python 3.13, we need additional build dependencies, see:
# https://github.com/Nitrokey/pynitrokey/issues/610
- name: Install more required packages
run: |
sudo apt update
sudo apt install -y libudev-dev libpython3-dev
- name: Install pynitrokey
run: python3 -m venv venv && venv/bin/pip install .[pcsc]
- name: Run nitropy --help
run: venv/bin/nitropy --help
Loading