Commit 2c7fe60
test: add CI tests for npx fallback without global install
Added test-npx-fallback job that verifies the wrapper works correctly
when promptfoo is NOT installed globally. This ensures both code paths
are tested:
1. test job: Tests with global promptfoo installation (preferred path)
2. test-npx-fallback job: Tests npx fallback (no global install)
The npx fallback job runs on a subset of configurations (Python 3.10
and 3.12 on all three OS platforms) to verify the fallback works
cross-platform without making CI too slow.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent ac708ba commit 2c7fe60
1 file changed
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
100 | 135 | | |
101 | 136 | | |
102 | 137 | | |
| |||
122 | 157 | | |
123 | 158 | | |
124 | 159 | | |
125 | | - | |
| 160 | + | |
126 | 161 | | |
127 | 162 | | |
128 | 163 | | |
| |||
131 | 166 | | |
132 | 167 | | |
133 | 168 | | |
| 169 | + | |
134 | 170 | | |
135 | 171 | | |
136 | 172 | | |
137 | 173 | | |
138 | 174 | | |
139 | 175 | | |
| 176 | + | |
140 | 177 | | |
141 | 178 | | |
142 | 179 | | |
143 | 180 | | |
144 | 181 | | |
| 182 | + | |
145 | 183 | | |
146 | 184 | | |
147 | 185 | | |
| |||
0 commit comments