Skip to content

build(deps): bump the pinned-test-dependencies group across 3 directories with 2 updates #1392

build(deps): bump the pinned-test-dependencies group across 3 directories with 2 updates

build(deps): bump the pinned-test-dependencies group across 3 directories with 2 updates #1392

Workflow file for this run

name: Lint & test
on:
push:
branches: [main]
pull_request:
permissions: {}
jobs:
test:
name: Lint & test
permissions:
contents: read
strategy:
fail-fast: false
matrix:
toxenv: [lint-signer, test-signer]
pyversion: ['3.10', '3.14']
os: [ubuntu-latest, macos-latest]
# Only run repository on 3.14 (dependency pinning is easier with single version)
include:
- toxenv: lint-repo
pyversion: '3.14'
os: ubuntu-latest
- toxenv: test-repo
pyversion: '3.14'
os: ubuntu-latest
- toxenv: test-e2e
pyversion: '3.14'
os: ubuntu-latest
runs-on: ${{ matrix.os }}
env:
TOXENV: ${{ matrix.toxenv }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.pyversion }}
cache: 'pip'
cache-dependency-path: |
signer/pyproject.toml
repo/pyproject.toml
action-constraints.txt
build/build-constraints.txt
- name: Install system dependencies for e2e test
if: matrix.toxenv == 'test-e2e'
run: |
sudo apt-get install libfaketime softhsm2
echo "PYKCS11LIB=/usr/lib/softhsm/libsofthsm2.so" >> $GITHUB_ENV
- name: Install tox
run: python -m pip install -c build/build-constraints.txt tox
- name: ${{ matrix.toxenv }}
run: tox