Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self-test: Install sigstore-python in separate virtualenv #181

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,23 @@ jobs:
cache: "pip"

- name: install sigstore-python
run: pip install "sigstore >= 3.5.0, < 4.0"
run: |
python3 -m venv sigstore-env
jku marked this conversation as resolved.
Show resolved Hide resolved
./sigstore-env/bin/python -m pip install "sigstore >= 3.5.0, < 4.0"

cat <<EOF > ./sigstore-env/bin/conformance
#!/bin/sh
# allow wrapper to find "sigstore" binary from venv
PATH=$PWD/sigstore-env/bin/:$PATH
$PWD/sigstore-env/bin/python $PWD/sigstore-python-conformance "\$@"
EOF

chmod +x ./sigstore-env/bin/conformance

- name: conformance test sigstore-python
uses: ./
with:
entrypoint: ${{ github.workspace }}/sigstore-python-conformance
entrypoint: ${{ github.workspace }}/sigstore-env/bin/conformance
skip-cpython-release-tests: ${{ matrix.skip-cpython-release-tests }}
environment: ${{ matrix.sigstore-env }}
xfail: "test_verify_with_trust_root test_verify_dsse_bundle_with_trust_root"
Loading