Skip to content

signer: When pushing to a fork, use unique branch name #330

signer: When pushing to a fork, use unique branch name

signer: When pushing to a fork, use unique branch name #330

Workflow file for this run

name: Lint & test
on:
push:
pull_request:
permissions: {}
jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: "**/pyproject.toml"
- name: Install system dependencies for e2e test
run: |
sudo apt-get install libfaketime softhsm2
echo "PYKCS11LIB=/usr/lib/softhsm/libsofthsm2.so" >> $GITHUB_ENV
- name: Install tox
run: python -m pip install tox
- name: Lint
run: tox -m lint
- name: Repository unit tests
run: tox -e test-repo
- name: End-to-end tests
run: tox -e test-e2e