build(deps): bump the actions-dependencies group across 2 directories… #1027
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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 |