Skip to content

actions: Update pinned requirements #1061

actions: Update pinned requirements

actions: Update pinned requirements #1061

Workflow file for this run

name: Lint & test
on:
push:
branches: [main]
pull_request:
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
toxenv: [lint-signer, lint-repo, test-signer, test-repo, test-e2e]
env:
TOXENV: ${{ matrix.toxenv }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.12'
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