Skip to content

Merge pull request #444 from Rana-KV/update-yubikey #10

Merge pull request #444 from Rana-KV/update-yubikey

Merge pull request #444 from Rana-KV/update-yubikey #10

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", "3.11", "3.12"]
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: setup github user
shell: bash
run: |
git config --global user.name oll-bot
git config --global user.email developers@openlawlib.org
- name: Run pre-commit and test with pytest
run: |
pre-commit run --all-files
pytest taf/tests