Add (selftest) virtual environment management #621
Workflow file for this run
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: Self-test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "10 10 * * *" | |
jobs: | |
selftest: | |
strategy: | |
matrix: | |
include: | |
- { sigstore-infra: production, skip-cpython-release-tests: false } | |
- { sigstore-infra: production, skip-cpython-release-tests: true } | |
- { sigstore-infra: staging, skip-cpython-release-tests: false } | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
cache: "pip" | |
- name: install sigstore-python | |
run: | | |
python3 -m venv sigstore-env | |
./sigstore-env/bin/python -m pip install --requirement sigstore-requirements.txt | |
- name: conformance test sigstore-python | |
uses: ./ | |
with: | |
entrypoint: ${{ github.workspace }}/sigstore-python-conformance | |
skip-cpython-release-tests: ${{ matrix.skip-cpython-release-tests }} | |
environment: ${{ matrix.sigstore-infra }} | |
xfail: "test_verify_with_trust_root test_verify_dsse_bundle_with_trust_root" |