Skip to content

Make it possible to abort signing if keys cannot be loaded, improve cli error handling #1056

Make it possible to abort signing if keys cannot be loaded, improve cli error handling

Make it possible to abort signing if keys cannot be loaded, improve cli error handling #1056

Workflow file for this run

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libhdf5-serial-dev zlib1g-dev libatlas-base-dev lcov swig3.0 libpcsclite-dev
mkdir -p ~/bin/ && ln -s /usr/bin/swig3.0 ~/bin/swig && export PATH=~/bin/:$PATH
pip install -e .[ci,test,yubikey] # Install with CI deps
- name: Run pre-commit and test with pytest
run: |
pre-commit run --all-files
pytest taf/tests