You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Using the new 'scan' command as 'check' is deprecated
@@ -108,7 +121,7 @@ jobs:
108
121
109
122
- name: Run pip-audit
110
123
run: |
111
-
cd ${{ env.PACKAGE_DIR }}
124
+
cd libs/${{ inputs.package }}
112
125
echo "=== Running pip-audit ==="
113
126
# Skip the local package as it's not on PyPI yet
114
127
pip-audit --skip-editable
@@ -135,14 +148,14 @@ jobs:
135
148
python-version: '3.12'
136
149
137
150
- name: Install dependencies
151
+
working-directory: libs/${{ inputs.package }}
138
152
run: |
139
153
python -m pip install --upgrade pip
140
-
cd ${{ env.PACKAGE_DIR }}
141
154
pip install -e ".[test]"
142
155
143
156
- name: Run unit tests with coverage
144
157
run: |
145
-
cd ${{ env.PACKAGE_DIR }}
158
+
cd libs/${{ inputs.package }}
146
159
pytest tests/unit/ -v --cov=${{ inputs.package == 'async-cassandra' && 'async_cassandra' || 'async_cassandra_bulk' }} --cov-report=html --cov-report=xml || echo "No unit tests found (expected for new packages)"
0 commit comments