Skip to content

current branch not master branch on a push #174

current branch not master branch on a push

current branch not master branch on a push #174

Workflow file for this run

name: pkcs11_ca-ubuntu
on: [push]
jobs:
VM-test-job:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install and run
run: |
sudo apt-get update
sudo apt-get install docker-compose curl -y
bash -c 'export PATH="$PATH:$HOME/.local/bin" && \
export CA_URL=https://ca && \
export CA_DNS_NAME=ca && \
export ACME_ROOT=/acme && \
export PKCS11_SIGN_API_TOKEN=xyz && \
export PKCS11_TOKEN=my_test_token_1 && \
export PKCS11_PIN=1234 && \
export PKCS11_MODULE=/usr/lib/softhsm/libsofthsm2.so && \
export POSTGRES_HOST=postgres && \
export POSTGRES_USER=pkcs11_testuser1 && \
export POSTGRES_PASSWORD=DBUserPassword && \
export POSTGRES_PORT=5432 && \
export POSTGRES_DATABASE=pkcs11_testdb1 && \
export POSTGRES_TIMEOUT=5 && \
id && \
cd && \
python3 -m pip install -r requirements.txt && \
python3 -m pip install types-requests mypy black pylint && \
bash deploy.sh'