Skip to content

Commit 3be11ce

Browse files
committed
test: tests conda verify command
Tests that conda verify command works without installing the package. This uses the local source code with PYTHONPATH.
1 parent 04c35c1 commit 3be11ce

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.github/workflows/conda-witness-integration-test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,14 @@ jobs:
6161
- name: Verify Built Package with Conda Verify
6262
run: make witness-verify
6363

64-
- name: Test Installed Package
64+
- name: Test Conda Verify Command
6565
run: |
66-
# Install the built package
67-
pip install dist/*.whl
66+
# Test that conda verify command works without installing the package
67+
# This uses the local source code with PYTHONPATH
68+
export PYTHONPATH="${PWD}:${PYTHONPATH}"
69+
python -m conda.cli.main verify --help
6870
69-
# Test that conda verify command works
70-
conda verify --help || python -m conda verify --help || python -m conda.cli.main verify --help
71-
72-
echo "✓ Conda with witness integration installed successfully"
71+
echo "✓ Conda verify command is working"
7372
7473
- name: Create Test Summary
7574
run: |

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,15 @@ rever/
4545

4646
# setuptools-scm
4747
conda/_version.py
48+
49+
build-policy-signed.yaml
50+
51+
build-policy.yaml
52+
53+
conda/witness/binaries/witness_darwin_arm64
54+
55+
policy-key.pem
56+
57+
policy-key.pub
58+
59+
verify-result.json

0 commit comments

Comments
 (0)