Skip to content

Commit c9debec

Browse files
committed
ci: match export plugin tests for removed method
1 parent 6cddbe4 commit c9debec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,7 @@ jobs:
108108
ref: refs/tags/${{ steps.poetry-plugin-export-version.outputs.version }}
109109

110110
- name: Run pytest (poetry-plugin-export)
111-
run: poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/
111+
run: |
112+
# patch test mock for removed method
113+
sed -i -e s/poetry.factory.Factory.create_config/poetry.config.config.Config.create/ poetry-plugin-export/tests/conftest.py
114+
poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/

0 commit comments

Comments
 (0)